Max value Byte

agraham

Expert
Licensed User
Longtime User
not receive any error? Max value Byte is 127 ?
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
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…