Specifications

551
Appendices
Appendix J
Quick Reference
for Statements and Functions
Controlling program flow
Statements
CALL Calls an FN3 or SUB function.
CHAIN
Transfers control to another program.
END
Terminates program execution.
FORNEXT
Defines a loop containing statements to be exe-
cuted a specified number of times.
GOSUB
Branches to a subroutine.
GOTO
Branches to a specified label.
IFTHENELSEEND IF
Conditionally executes specified statement blocks
depending upon the evaluation of a conditional
expression.
ON...GOSUB
Branches to one of specified labels according to
the value of an expression.
ON...GOTO
Branches to one of specified labels according to
the value of an expression.
RETURN
Returns control from a subroutine or an event-han-
dling routine (for keystroke interrupt).
SELECT...CASE...END SELECT
Conditionally executes one of statement blocks
depending upon the value of an expression.
WHILE...WEND
Continues to execute a statement block as long as
the conditional expression is true.