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.
The current error value. The current error is reset to 0 after this function is called.
! Enable user error-checking.
! Invalid ArcSine.
! Sets ErrorVariable to 274 (invalid argument passed).