# Binary Calculating

2 replies to this topic

### #1 JayDee

JayDee

Newbie

• Members
• 3 posts

• Calculators:
fx-9860GII

Posted 07 May 2012 - 01:49 PM

Hey there!

I'm still programming on the fx-9860GII, I want to get as much knowledge here before learning C.
Anyway, I found out that 26 variables was a little bit to little.

I came up with a program which can let you store information in strings. It's based
on the binary number system. However, if I want to store numbers in the string I have
to convert them to binary first. Is there a way to do this?

I'm sorry for my English, please don't judge me there.
And if you think I made a mistake somewhere or my program is a bit cumbersome, please tell me

JayDee,

### #2 Martin

Martin

Casio Freak

• Members
• 121 posts
• Gender:Male
• Location:Praha
• Interests:asm on cfx9850

• Calculators:
fx82l
fx7700GB
cfx9850G
TI92
fx9860G SD
Rheinmetall KEL IIc
H. W. Ebmeyer - Tarema
fx cg20

Posted 07 May 2012 - 05:44 PM

Hello,
I do not know how many variables you need, but you can use lists (1 dimensional arrays) and matrices (2 dimensional arrays).
Storing numbers to string in binary would be very slow and memory consuming.

Example for list:
create list for 5 numbers
5->Dim List 1
store some values:
1->List 1
A->List 1
C+2D->List 1
use them:
List 1+List 1->X
X/List 1->List 1

There are 26 lists (List 1 ~ List 26) and 26 matrices (Mat A ~ Mat Z)
Of course the index may be expression (e.g.: List 1[X+3])

I hope this helps you for the very beginning.

### #3 somebody1234

somebody1234

• Members
• 51 posts

• Calculators:
Casio fxcg10
Casio fx-9860GII