@eknori:
Dort steht
BYTE, BOOLBYTE = Byte in R5+,cannot convert pre-R5
Es gibt aber in R5 keinen Datentyp Byte. Erst ab R6 !
Example
Specifies a variable that contains a single, one-byte unsigned number.
Usage
A Byte value is a positive integer in the range 0 to 255, inclusive, stored as a single, 8-bit (1 -byte) unsigned number.
Byte variables are initialized to 0.
There is no suffix character for the Byte data type.
A byte type can be used anywhere an integer type can be used. The baseline specification for the Byte data type is the same as the byte data type in Visual Basic.
Byte is both a value and a data type. This means a byte value can be stored in either a variable declared as the Byte data type or a variable declared as a variant. Because a value retrieved from a variant may be significant, both cases must be tested for.