[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
RESUME                   Continue after Error Trap

 RESUME [0]   or   RESUME NEXT   or   RESUME {linenum | linelabel}

    Allows program execution to continue after an ON ERROR GOTO routine
    has run.

           0    RESUME by itself or with the optional dummy argument 0
                causes the program to continue from the line that produced
                the error.

        NEXT    RESUME NEXT causes program execution to continue at the
                line following the line that produced the error.

     linenum    RESUME {linenum | linelabel} causes program execution to
   linelabel    continue at a specified line.

   -------------------------------------------------------------------------

      Notes:    All ON ERROR GOTO routines must end with some form of
                RESUME statement.

                A RESUME that is not part of an error trapping routine
                produces runtime error 20 (RESUME without Error).

                RESUME, RESUME 0, and RESUME NEXT cause the compiler to
                generate four bytes of code for each program statement.
                RESUME {linenum | linelabel} generates only one jump
                instruction.

See Also: ERL ERR ON ERROR
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson