byte.bmx 146 B

123456789
  1. Rem
  2. Byte is an unsigned 8 bit integer BlitzMax primitive type.
  3. End Rem
  4. Local a:byte
  5. a=512;print "a="+a 'prints 0
  6. a=-1;print "a="+a 'prints 255