bas7qck.hlp (Table of Contents; Topic list)
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