Revision [13161]

This is an old revision of KeyPgByte made by JeffMarshall on 2008-04-24 15:43:25.

 

BYTE


Standard data type: 8 bit signed

Syntax:
KeyPgDim dim variable KeyPgAs as Byte

Description:
8-bit signed whole-number data type. Can hold a value in the range of -128 to 127.

Examples:
  Dim bytevar As Byte
  bytevar = 100
  Print "bytevar= ", bytevar


Dim x As Byte = CByte(&H80)
Dim y As Byte = CByte(&H7F)
Print "Byte Range = "; x; " to "; y
Output:
Byte Range = -128 to  127


Dialect Differences:
Differences from QB:
See also:
Back to Standard Data Types
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode