qbasic.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
ERR, ERL Functions
  ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
ERR returns the run-time error code for the most recent error.
ERL returns the line number where the error occurred, or the closest line
number before the line where the error occurred.
 
ERR
ERL
 
    ■ ERL does not return line labels. If there are no line numbers in the
      program, ERL returns 0.
 
◄Example►
 
See Also    ◄ERDEV, ERDEV$►    ◄ERROR►    ◄ON ERROR►    ◄RESUME►
            ◄Run-Time Error Codes►