ener.hlp (Topic list)
Label not defined (ERR: 8)
■ A line label is referenced (in a GOTO statement, for
  example), but does not occur in the program.
 
■ Possible solutions:
 
  • Insert the appropriate line label as referenced in
    a GOTO or other statement.
 
  • If you are using the RUN statement, make sure the
    label is defined at the module level in a non-form
    code module. No executable statements are allowed at
    the module level of a form module.
 
  • ON...GOSUB and ON ERROR must refer to module-level
    code. Use ON LOCAL ERROR to refer to an error handler
    at the subroutine level.
 
■ If you need additional help, move the cursor to a keyword
  and press F1 to open the Help window.