# Syntax
The program can be exited using the syntax:
```
local exit [EXITCODE]
```
The exit code is optional; exit code 0 will be used when no value is provided.
# Examples
The following example exits the program with exit code 1:
```
local exit 1
```