Intrinsic-22 GetErr

Intrinsic-22 GetErr

Top  Previous  Next

22: variable:= GetErr;

 

This intrinsic returns the number of the most recently detected, untrapped error. If this number is 0 then no error was detected. After returning the error number, GetErr is internally reset to 0, ready for the next call.