Byte data type (LotusScript® Language)

Specifies a variable that contains a single, one-byte unsigned number.

Note: This data type is new with Domino® Release 6.

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.

Example