Explanation
ERR, ERL Functions
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.Worth knowing
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.