Mathematica 9 is now available

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

Quit

FilledSmallSquare Quit[ ] terminates a Mathematica kernel session.

FilledSmallSquare Quit[ ] quits only the Mathematica kernel, not the front end.

FilledSmallSquare To quit a notebook front end, choose the Quit menu item.

FilledSmallSquare All kernel definitions are lost when the kernel session terminates.

FilledSmallSquare If you have kept the definitions in a file or in a notebook you can always re-enter them in a subsequent session.

FilledSmallSquare Before terminating a kernel session, Mathematica executes any delayed value that has been assigned to the global variable $Epilog. Conventionally, this attempts to read in a file end.m of commands to be executed before termination.

FilledSmallSquare On most computer systems, Quit[n] terminates the Mathematica kernel, passing the integer n as an exit code to the operating system.

FilledSmallSquare Exit is a synonym for Quit.

FilledSmallSquare See Section 1.0.2, Section 2.14.1 and Section A.7.5.

FilledSmallSquare See also: Return, $IgnoreEOF.

FilledSmallSquare New in Version 1.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.