bas7qck.hlp (Table of Contents; 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
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
ERR and ERL
 
ERR Returns
  An integer that is the latest setting of the run-time error code
  (generally the code for the last run-time error that occurred).
 
ERL Returns
    An integer that is the line number where the error occurred, or the
    closest line number before the line where the error occurred.
    ERL returns no line label information; only line number information.
    If there are no line numbers in the procedure or module in which the
    ERL function is used, it returns a value of 0.
 
See Also    ON ERROR    RESUME    ERROR    ERR Statement
            Run-Time Error Code Table