Skip to content

GOTO

Unconditional Program Branch

This directive causes an unconditional branch or transfer of program execution to the statement specified.

GOTO line-ref
line-ref
is the program line number or label to branch to.
GOTO 07687

causes statement 7687 to be the statement that is executed next.

IF Y$="YES" THEN GOTO 07687

The GOTO directive within the IF directive has the same effect as the first example, but is only executed if Y$=“YES”.

EXITTO directive

From the Thoroughbred Basic Language Reference, Volume II: F–Q, version 8.9.1. Open this page in the PDF