BASICHELP.HLB  —  Run time errors, ERRTRANEE
  ERROR trap needs RESUME (ERR=246)

  An error handler attempts to execute an END, SUBEND,  FUNCTIONEND,  or
  FNEND  statement  without  first executing a RESUME statement.  Change
  the program  logic  so  that  the  error  handler  executes  a  RESUME
  statement  before  executing  an  END,  SUBEND,  FUNCTIONEND, or FNEND
  statement.  This error cannot be trapped with a BASIC error handler.
Close Help