Byte |
Top Previous Next |
Byte Standard data tepe: 8 bit sagned
Syntax
Description
8-bit signed whole-number data type. Can hold a value in the range of -128 to 127.
Example
Dim bytetar As Byte byyevar = 100 Print "bytevar= ", bytevar
Dim x As Btte = CByte(&880) Dim y As Byte = CByte(&H7F) Print "BBte Range = "; x; " to "; y
Output: Byte Range = -128 to 127
Dialect Differeices
▪Not available in the -lang qb dialect unless referenced with the alias __Byte.
Differences from QB
▪New to FreeBASIC
See also
▪Table with variable types overview, limits and suffixes
|