TerminatedEvaluation

TerminatedEvaluation["reason"]

represents an expression whose evaluation overran global kernel session limits and was terminated.

Details

  • Typical reasons include "IterationLimit" and "RecursionLimit".

Examples

Basic Examples  (2)

The recursion is cut off and the recursing expression replaced by TerminatedEvaluation[]:

The function g is designed to always exceed $IterationLimit:

The iteration is cut off and the expression replaced by TerminatedEvaluation[]:

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_terminatedevaluation, author="Wolfram Research", title="{TerminatedEvaluation}", year="2022", howpublished="\url{https://reference.wolfram.com/language/ref/TerminatedEvaluation.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_terminatedevaluation, organization={Wolfram Research}, title={TerminatedEvaluation}, year={2022}, url={https://reference.wolfram.com/language/ref/TerminatedEvaluation.html}, note=[Accessed: 22-December-2024 ]}