GOTO

Format

GOTO label1

Description

This statement transfers program execution to the statement identified by label1.

Example

GOTO SKIPIT:
PRINT "YOU'LL NEVER GET HERE"
SKIPIT: PRINT "ALL DONE!"
After execution of this code, the screen will appear as follows:

ALL DONE!

Note that the first print statement never executes because of the GOTO.