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


CheckAbort[expr, failexpr]
evaluates expr, returning failexpr if an abort occurs.
  • CheckAbort absorbs any aborts it handles, and does not propagate them further.
Catch an abort in a part of a computation allowing the rest of it to continue:
Click for copyable input
New in 2