ERRL

Previous  Next

 

line = ERRL() AS INTEGER

 


 

Returns the line number where the error ocurred. 

 

Error codes and messages.  ERRM returns the message for current error. ERRL returns the error number of the current error.  ERRL returns the line number.  ADDERR can be used to add custom error messages.  ERROR is used to raise an error condition with specified error code.

 

Example:

 

ERROR 34

PRINT ,ERRL;" - ERROR - ";ERRM,