GOTO
Unconditional Program Branch
This directive causes an unconditional branch or transfer of program execution to the statement specified.
Syntax
Section titled “Syntax”GOTO line-refline-ref- is the program line number or label to branch to.
Examples
Section titled “Examples”GOTO 07687causes statement 7687 to be the statement that is executed next.
IF Y$="YES" THEN GOTO 07687The GOTO directive within the IF directive has the same effect as the first example, but is only executed if Y$=“YES”.
See also
Section titled “See also”EXITTO directive
From the Thoroughbred Basic Language Reference, Volume II: F–Q, version 8.9.1. Open this page in the PDF