qb45advr.hlp (Topic list)
ON ERROR Statement QuickSCREEN
  QuickSCREEN      Details      Example      Contents      Index
──────────────────────────────────────────────────────────────────────────────
ON ERROR - an error-trapping statement that enables error handling
           and specifies the first line of the error-handling routine
Syntax
  ON ERROR GOTO line
    ■ line is the line label or line number of the statement that you want
      to run next after an error occurs during program execution
 
See Also  RESUME  ERR  ERL  ERROR