EasyManua.ls Logo

Radio Shack TRS-80 Model III - Page 225

Radio Shack TRS-80 Model III
274 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
APPENDIX
(Tests
-
Conditional
Statements)
IF exp-1
THEN
statement-
1
ELSE
statement-2
Tests
exp-1:
If True,
execute
statement-1
then
jump
to
next
program
line
(unless
statement-1
was
a GOTO).
Ifexp-J
is False,
jump
directly
to ELSE
statement
and
execute
subsequent
statements.
(Graphics
Statements)
CLS
Clear Video
Display
RESETfx.vJ
Turn off
the
graphics
block
with
horizontal
coordinate
x
and
vertical
coordinate
v,
0<
=
X<
1
28
and
0<
=
Y<48
SET
(x,y)
Turn on the
graphics
block
specified
by coordinates
x
and
v.
Same argument
limits
as RESET
(Special
Statements)
POKE location,
value
Load value
into memory
location
(both arguments
in
decimal
form)
0<
=
value<
=
255.
OUTport,
value
Send
value
to port
(both
arguments
between
and
255
inclusive)
IF
A
=
0THEN
PRINT
"ZERO"
ELSEPRINT-NOTZERO"
160-1
CLS
RESET
(8
+
B,
11)
186
186
SET(A*2,B
+
C)
185
POKE
15635,34
POKE17770.A
+
N
189
OUT
255,10
OUT55,A
189
215

Other manuals for Radio Shack TRS-80 Model III

Related product manuals