&o

From Xojo Documentation

Revision as of 23:26, 20 November 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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.