Navigation

Operators and Keywords

Function List:

C++ API

: val = max_recursion_depth ()
: old_val = max_recursion_depth (new_val)
: max_recursion_depth (new_val, "local")

Query or set the internal limit on the number of times a function may be called recursively.

If the limit is exceeded, an error message is printed and control returns to the top level.

When called from inside a function with the "local" option, the variable is changed locally for the function and any subroutines it calls. The original variable value is restored when exiting the function.

Package: octave