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

$HistoryLengthQuit

Exit

FilledSmallSquareExit[ ] terminates a Mathematica session.

FilledSmallSquareExit is a synonym for Quit.

FilledSmallSquareExit terminates the session even if called from within Dialog.

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

FilledSmallSquare See The Mathematica Book: Section 2.13.1 and Section A.7.5.

FilledSmallSquare See also: Return, $IgnoreEOF.

$HistoryLengthQuit