JCalc > Tutorial > Limit the evaluation steps

The following example shows you how to bound the work a single calculation may do. setMaxEvaluationSteps is a safety guard against pathological dependency chains in untrusted workbooks. When the limit is reached the run stops and the affected cells are reported as EvaluationAborted diagnostics.

Need help? Ask our developers: