To properly display this page you need a browser with JavaScript support.
HTBasic Help
×
Menu
Index
Search
Search
Reference
HTBasic Keywords
ERRL - Compares a line number with ERRLN.
Previous page
Next page
Print version
(c) TransEra Corp, 2021
To properly display this page you need a browser with JavaScript support.
ERRL
Compares a line number with ERRLN.
ERRL( line-number | line-label )
Usage:
IF ERRL(850) THEN CALL Route_error
IF ERRL(1260) THEN GOTO 5630
IF NOT ERRL(Record) THEN Lock
Example:
ERRL.BAS
Description:
ERRL
returns a 1 if
ERRLN
is equal to the specified line (in the current context) and 0 otherwise.
ERRL
can be used in
IF
statements to direct program flow in an error handling routine.
ERRL
is not keyboard executable.
See Also:
CAUSE ERROR
,
CLEAR ERROR
,
ERRLN
,
ERRM$
,
ERRN
,
ERROR RETURN
,
ERROR SUBEXIT
,
OFF ERROR
,
ON ERROR