XLISP > XLISP 2.0  -  Contents  -  Reference  -  Previous | Next

exit


Type:   -   function (subr)
Source:   -   xlsys.c

Syntax

(exit)
returns - never returns

Description

The 'exit' function causes the current XLISP session to be terminated. It never returns.

Examples

(exit)   ; never returns

Keystroke equivalent: In the IBM PC and MS-DOS versions of XLISP, a 'Ctrl-z' key sequence has the same effect as doing a (exit). On a Macintosh, this can be accomplished by a pull-down menu or a 'Command-q'. [I haven't tested this with Nyquist.]

Note: When XLISP is exited, any dribble transcript file is automatically closed. However, other open files are not closed, and so may lose some information.

See the exit function in the XLISP 2.0 manual.

  Back to Top


XLISP > XLISP 2.0  -  Contents  -  Reference  -  Previous | Next