Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Errcatch

Function: errcatch (<expr_1>, ..., <expr_n>) 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 werent caught.

(%o1)                                true
(%i2) 

Related Examples

errcatch-load-subst

load ("lrats");

subst ([a = b, c = d...

lratsubst ([a^2 = b,...

Calculate

errcatch-load-subst

load ("lrats");

subst ([a = b, c = d...

lratsubst ([a^2 = b,...

Calculate