&b

From Xojo Documentation

Literal

Used to represent binary literals.

Usage

&bBinaryNumber

Part Type Description
BinaryNumber Binary number A binary literal value.

Notes

To write a binary literal, precede the value with &b.

Sample Code

Assigning a number using a binary literal:

Var value As Integer
value = &b101 ' value = 5 as a decimal integer

See Also

Bin function.