Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Flow Control >

CheckAbort

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:
In[1]:=
Click for copyable input
Out[1]=
New in 2
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team