This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / System Interface / Mathematica Sessions /


FilledSmallSquare Exit[ ] terminates a Mathematica kernel session.

FilledSmallSquare Exit is a synonym for Quit.

FilledSmallSquare Exit terminates the kernel session even if called from within Dialog.

FilledSmallSquare On most computer systems, Exit[n] can be used to pass the integer exit code n to the operating system.

FilledSmallSquare See Section 2.14.1 and Section A.7.5.

FilledSmallSquare See also: Return, $IgnoreEOF.

FilledSmallSquare New in Version 1.