Lingo Dictionary > A-C > abort |  |

abort

Syntax

    abort

Description

Command; tells Lingo to exit the current handler and any handler that called it without executing any of the remaining statements in the handler. This differs from the `exit` keyword, which returns to the handler from which the current handler was called.

The `abort` command does not quit Director.

Example

This statement instructs Lingo to exit the handler and any handler that called it when the amount of free memory is less than 50K:

    if the freeBytes < 50*1024 then abort

See also

`exit`, `halt`, `quit`