ERRLN
Returns the program line number on which the last error occurred.
ERRLN
Usage:
PRINT ERRLN
Error1=ERRLN
Example:
ERRLN.BAS
Description:
The number of the program line on which the most recent error occurred is returned. If no error has occurred, the
ERRLN
function returns 0.
See Also:
CAUSE ERROR
,
CLEAR ERROR
,
ERRL
,
ERRM$
,
ERRN
,
ERROR RETURN
,
ERROR SUBEXIT
,
OFF ERROR
,
ON ERROR