Max value Byte

agraham

Expert
Licensed User
Longtime User
not receive any error? Max value Byte is 127 ?:confused:
No, you do not get an error when converting an out of range number. The byte value you get when a larger value is converted is
B4X:
bytevalue = outofrangevalue AND 0xFF
where 0x00 to 0x7F is interpreted as 0 to 127
and 0x80 to 0xFF is interpreted as -128 to -1
 
Top