0 Members and 2 Guests are viewing this topic.
:Data(2,5,100,40,3)->Str1
:{Str1}:.Return 2:{Str1+1}:.Return 5...:{Str1+X}
:Data(12,500^r,200,30000^r)->Pic1:{Pic1}:.Return 12:{Pic1+1}^r:.Return 500:{Pic1+3}:.Return 200:{Pic1+4}^r:.Return 30000
Endeed a byte is 8 bits. Then a byte can take 2^8 (=256) values, that to say a number beetwen 0 and 255. A 2 byte number can take 2^16 (=65356) values, it means a number beetwen 0 and 65355.Axe variables are 2 bytes number.
You can combine 2 real variables or use the OP registers...
Do you know about anything about numbers bigger than 65355? Are they 3 bytes or 4 or something like that?
Quote from: danny90444 on July 03, 2012, 02:57:33 pmDo you know about anything about numbers bigger than 65355? Are they 3 bytes or 4 or something like that?Depends on how much bigger than 65355.
Basically, to know the limit of X bytes, you do 2X*8-1.So 1 byte stops at 255, 2 bytes stop at 65535, etc
A+C->AIf A<CB+D->BElseB+D+1->BEnd