PERR()
PURPOSE
This function returns the value of the internal Program Error Number if it's been set by an ERR command or other error.
NO OTHER PARTS
RETURN TYPE - I
COMMENTS
Once a program error occurs the appropriate error number will remain until it is cleared by the CLRPE command or the current program terminates.
Page url: http://www.cassoftware.com/tas/manual/programerror().htm