HTBasic Help
×
Menu
Index

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: