CheckAbort

CheckAbort[expr,failexpr]
evaluates expr, returning failexpr if an abort occurs.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Catch an abort in a part of a computation allowing the rest of it to continue:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 1991
(2.0)