This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / Programming / Flow Control  /

  • AbortProtect[ expr ] evaluates expr, saving any aborts until the evaluation is complete.
  • Aborts that are generated during an AbortProtect take effect as soon as the execution of the AbortProtect is over.
  • CheckAbort can be used inside AbortProtect to catch and absorb any aborts that occur.
  • AbortProtect also protects against aborts generated by TimeConstrained and MemoryConstrained.
  • See the Mathematica book: Section 2.5.13.