This is documentation for Mathematica 5, 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

FilledSmallSquare AbortProtect[expr] evaluates expr, saving any aborts until the evaluation is complete.

FilledSmallSquare Aborts that are generated during an AbortProtect take effect as soon as the execution of the AbortProtect is over.

FilledSmallSquare CheckAbort can be used inside AbortProtect to catch and absorb any aborts that occur.

FilledSmallSquare AbortProtect also protects against aborts generated by TimeConstrained and MemoryConstrained.

FilledSmallSquare See Section 2.6.14.

FilledSmallSquare New in Version 2.