 |
 |  |  | Command |  | Argument |
 | Datatype |  | Default |  | Min |  | Max |
 |  |  | Format: |  | Exit | | Error = Exit error code |
 | INT |
 | 0 |  | - |  | - |
 |  |  | Python: |  | Exit(error=None) |  |  |
 | Menu: |  | File > Exit |  |
 |  | Keys: |  | <Ctrl>+<Esc> - Exit YASARA immediately
|  |
 |  | Related: |  | OnError |  |  |  | Required: |
 |  |
 |  |
The Exit
command quits YASARA immediately, without asking for confirmation. However, if the command is run via the graphical user interface,
then a confirmation dialogue will be shown to avoid unintended data loss.
Example 1:
Exit
Exit YASARA immediately, without saving any data.
Example 2:
Exit 5
Exit YASARA and return error code 5 to the operating system.
|