erfflag SciMax Toolbox error

SciMax Toolbox >> errcatch

errcatch

Maxima Function

Calling Sequence

errcatch (expr_1, ..., expr_n)

Description

Evaluates expr_1, ..., expr_n one by one and returns [expr_n] (a list) if no error occurs. If an error occurs in the evaluation of any argument, errcatch prevents the error from propagating and returns the empty list [] without evaluating any more arguments.

errcatch is useful in batch files where one suspects an error might occur which would terminate the batch if the error weren't caught.

erfflag SciMax Toolbox error