&o

From Xojo Documentation

Literal

Used to represent octal literals.

Usage

&oOctalNumber

Part Type Description
OctalNumber Octal number A octal literal value.

Notes

To write an octal literal, precede the value with &o.

The Permissions class uses octal to represent the permissions of FolderItems (Linux and macOS only).

Sample Code

Assign a number using an octal literal:

Var oct As Integer
oct = &o755 // oct = 493 as a decimal integer

See Also

Oct function; Permissions class.