|Location||QL ROM (post JM version)|
This function returns the line where the last error occurred. If the error occurred in a line typed into the command window (#0), then zero is returned (zero is also returned if there is no error).
It takes a lot of time to debug programs, so save typing by including a variation of the following line in your BOOT program. Then, if an error occurs and the program stops with an error message, simply press <ALT><E> to see and edit the line where something went wrong:
ALTKEY "e","ED ERLIN-20"&CODE(216)&CODE(216),""
ALTKEY "e","AUTO ERLIN",""