APPENDIX
(Tests- Conditional Statements)
IF exp-l THEN statement-l
ELSE statement-2
Tests
exp-l:
If
True, execute
IF A =°THEN PRINT
"ZERO"
4114-4115
statement-l thenjumpto ELSE PRINT "NOT ZERO"
next program line (unless
statement-I was a
GOTO).
If
exp-l is False,
jump
directly to ELSE statement
and execute subsequent
statements.
(GraphicsStatements)
CLS
ClearVideo Display
CLS
8/2
RESET(x,y)
Tum
off
the graphics block
RESET
(8
+
B,
11
)
8/2
with horizontal coordinatex
and vertical coordinate y,
0<
=X<128
and
0<
=
Y<48
SET (x,y)
Tum
onthe graphics block
SET(A*2,B +C)
8/1
specified bycoordinatesx
andy. Same argument limits
as
RESET
(Special Statements)
POKE location, value
Load value into memory POKE 15635,34
8/5
location (both arguments in
POKE 17770,A+ N
decimal form)
0<
= value< = 255.
OUTport, value
Send value to
port
(both
OUT255,10
8/5
arguments between0 and 255
OUT55,A
inclusive)
A/11