BASICHELP.HLB  —  ERL
  The ERL function returns the line number where the last error occurred.

  Example

  300    IF (ERL = 20%) THEN CLOSE #2%
Additional Information: explode extract
Syntax
Close Help