P. 22
IF
IF X + Y = Z THEN 1000 (Note no punctuation.
Conditional statement; if true, Computer
proceeds to 1000; if false, Computer
continues to next line)
IF (X < Y) + (X <= Z) THEN 1000 (equations in
parentheses are evaluated and return a 1
for true and 0 for false. Then operation
between parenthesis is performed. Non
zero proceeds to 1000, a zero goes to the
next line number)
ON ON X GOTO 1000, 2000, 3000 (multiple-way
branch. Variable is evaluated and if X=l,
Computer goes to 1000, if X=2 goes to 2000,
etc.)
ON X GOSUB 1000, 2000, 3000 (multiple-way
branch to subroutine programs. If X=4,
Computer has no where to go and stops)
CLS
(clears the screen)
LET
(Optional. Computes and assigns value)
SET/S.
SET (X, Y) (turns on graphics coordinate.Value
of X to be 0-127; value of Y to be 0-47)
RESET/R. RESET (X, Y) (turns off graphics coordinate, ie.
"erases" a SET)
LIST/L.
(Not used in a program. Use to present a listing
of program in the Computer)
RUN/R.
(Not used in a program. Causes program to run)
CONT(no abbr.) (Not used in a program. Continues program after
a BREAK key entry)