exit

Synopsis

(exit)

(exit status)

Parameters

  • status

Description

This procedure exits the Inlab Scheme interpreter. If no exit status is provided, an exit status of 0 is passed back to the invoking shell (otherwise the supplied exit status is returned).

Side Effects

The interpreter terminates.

Return Value

This procedure never returns.

Example

$ scheme
> (exit)
$ echo $?
0
$ scheme
> (exit 2)
$ echo $?
2