IsError
Gets the current error value. The error value is set when any error is detected, and is reset after this function is called. You can call this function if user error-checking is enabled or disabled.
You should call this function as soon as possible after the operation to be checked, because the error code could be changed by the next error.
Syntax
IsError()
Return Value
The current error value. The current error is reset to 0 after this function is called.
Related Functions
Example
! Enable user error-checking.
ErrSet(1);
! Invalid ArcSine.
Ac=ArcSin(20.0);
! Sets ErrorVariable to 274 (invalid argument passed).
ErrorVariable=IsError()
See Also