Program Flow Control
ABORT
Terminates all programs and returns to the command level.
BEGIN
CASE
Indicates the beginning of a set of CASE statements.
CALL
Executes an external subroutine.
CASE
Alters program flow based on the results returned by expressions.
CHAIN
Terminates a BASIC program and executes a command.
CONTINUE
Transfers control to the next logical iteration of a loop.
END
Indicates the end of a program or a block of statements.
END
CASE
Indicates the end of a set of CASE statements.
ENTER
Executes an external subroutine.
EXECUTE
Executes sentences and paragraphs from within the BASIC program.
EXIT
Quits execution of a LOOP...REPEAT loop and branches to the statement
following the REPEAT statement.
FOR
Allows a series of instructions to be performed in a loop a given number
of times.
GOSUB
Branches to and returns from an internal subroutine.
GOTO
Branches unconditionally to a specified statement within the program or
subroutine.
IF
Determines program flow based on the evaluation of an expression.
LOOP
Repeatedly executes a sequence of statements under specified conditions.
NEXT
Defines the end of a FOR...NEXT loop.
ON
Transfers program control to a specified internal subroutine or to a specified
statement, under specified conditions.
PERFORM
Executes a specified sentence, paragraph, menu, or command from within
the BASIC program, and then returns execution to the statement following the
PERFORM statement.
REPEAT
Repeatedly executes a sequence of statements under specified conditions.
RETURN
Transfers program control from an internal or external subroutine back
to the calling program.
RETURN
(value)
Returns a value from a user-written function.
STOP
Terminates the current program.
SUBR(
)
Returns the value of an external subroutine.
WHILE...UNTIL
Provides conditions under which the LOOP...REPEAT statement or FOR...NEXT
statement terminates.