Exit¶
Terminates the current process with the specified exit code.
Module: Std
Import¶
Summary¶
Description¶
Exit immediately terminates the current process and returns the specified exit code to the operating system.
Execution does not continue after a call to Exit.
Parameters¶
| Parameter | Description |
|---|---|
code |
Exit code returned to the operating system. |
Example¶
Exit Codes¶
The meaning of exit codes is application-defined.
By convention:
| Code | Meaning |
|---|---|
0 |
Successful execution |
| Non-zero | An error occurred |