setmatherr
setmatherr |
Purpose
Raise a Math error.
Synopsis
procedure setmatherr(msg:string)
Argument
msg
|
Error message to display (or an empty string)
|
Further information
If mathematical errors are not handled by the model (see
setparam), the execution is interrupted. A function ending with a call to this routine may set its return value to
NAN
or
INFINITY
in order to indicate its error status.
Related topics