From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!


Used to represent binary literals.



Part Type Description
BinaryNumber Binary number A binary literal value.


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.