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.
FOR
…
NEXT
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.
IF
…
THEN
…
ELSE
…
END 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.
Summary of Contents for BHT-BASIC 100 SERIES
Page 1: ......
Page 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Page 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Page 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Page 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...