qb45ener.hlp (Topic list)
Label Not Defined
The statement refers to a label that QuickBASIC cannot
find:
  ■ GOTO, GOSUB, and single-line IF statements can only
    refer to labels in the current procedure.
  ■ Labels that begin error-handling and event-handling
    routines must be in the main-module level of the
    program.
 
ERR Code: 8