CheckAbort

CheckAbort[expr,failexpr]

evaluates expr, returning failexpr if an abort occurs.

Details

Examples

open allclose all

Basic Examples  (1)

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

Applications  (1)

A function that cleans up global settings that it makes in case of an abort:

The message has been turned back on even when the computation is interrupted:

Wolfram Research (1991), CheckAbort, Wolfram Language function, https://reference.wolfram.com/language/ref/CheckAbort.html.

Text

Wolfram Research (1991), CheckAbort, Wolfram Language function, https://reference.wolfram.com/language/ref/CheckAbort.html.

BibTeX

@misc{reference.wolfram_2020_checkabort, author="Wolfram Research", title="{CheckAbort}", year="1991", howpublished="\url{https://reference.wolfram.com/language/ref/CheckAbort.html}", note=[Accessed: 03-December-2020 ]}

BibLaTeX

@online{reference.wolfram_2020_checkabort, organization={Wolfram Research}, title={CheckAbort}, year={1991}, url={https://reference.wolfram.com/language/ref/CheckAbort.html}, note=[Accessed: 03-December-2020 ]}

CMS

Wolfram Language. 1991. "CheckAbort." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CheckAbort.html.

APA

Wolfram Language. (1991). CheckAbort. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CheckAbort.html