EXIT

Windows Linux macOS

Syntax

EXIT
EXIT <result>

Description

Terminates a GOSUB command, a user-defined command or a user-defined function, or the entire program. A return value <result> may be passed as the result of a user-defined function.

OK

Unchanged.

Example

EXIT %R

See also