Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Programming / Flow Control  /
Abort

  • Abort[ ] generates an interrupt to abort a computation.
  • You can call Abort anywhere within a computation. It has the same effect as an interactive interrupt in which you select the abort option.
  • You can use Abort as an "emergency stop" in a computation.
  • Once Abort has been called, Mathematica functions currently being evaluated return as quickly as possible.
  • In an interactive session, the final result from an aborted computation is $Aborted.
  • You can use CheckAbort to "catch" returns from an abort.
  • See the Mathematica book: Section 2.5.13.
  • See also: Throw, TimeConstrained, MemoryConstrained, Return.


    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.