Literal
&o
Description
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
Compatibility
All project types on all supported operating systems.
See also
Oct function; Permissions class.