Previous Up Next

5.13.2  Change the evaluation level: eval_level

The evaluation level is the maximum number of recursions when evaluating expressions, which is 25 by default. It can be set with the eval box in the CAS configuration screen (see section 3.5.7).

The eval_level command takes either zero or one argument. The single argument is a non-negative integer.
With no argument, eval_level returns the current evaluation level. With argument n, eval_level sets the evaluation level to n.

Input:

purge(a,b,c); a:=b+1; b:=c+1; c:=3;

Input:

eval_level(0)

Input:

a,b,c

Output:

a,b,c

Input:

eval_level(1)

Input:

a,b,c

Output:

b+1,c+1,3

Input:

eval_level(2)

Input:

c+2,4,3

Input:

eval_level(3)

Output:

a,b,c

Input:

a,b,c

Output:

a,b,c

Input:

a,b,c

Output:

a,b,c

Previous Up Next