Literal

# &o

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

## Description

Used to represent octal literals.

## Usage

``` xojo
&oOctalNumber
```

| Part        | Type         | Description            |
|-------------|--------------|------------------------|
| OctalNumber | Octal number | A octal literal value. |

## Notes

To write an octal literal, precede the value with <span class="title-ref">&o</span>.

The `Permissions</api/files/permissions>` class uses octal to represent the permissions of FolderItems (Linux and macOS only).

## Sample code

Assign a number using an octal literal:

``` xojo
Var oct As Integer
oct = &o755 ' oct = 493 as a decimal integer
```

## Compatibility

|                       |     |
|-----------------------|-----|
| **Project Types**     | All |
| **Operating Systems** | All |

<div class="seealso">

`Oct</api/math/oct>` function; `Permissions</api/files/permissions>` class.

</div>
