Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Basic - <b>resume continue after error trap</b> http://www.X-Hacker.org [<<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

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson