EasyManua.ls Logo

Radio Shack TRS-80 - Chapter 10: FOR-NEXT Loops; The FOR-NEXT Loop

Radio Shack TRS-80
169 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...
computer
Graphics
Operation
Manual
-----------TRS-BO
®
----------
l~
PSET
(RND(64~),RND(24~»,1
2~
GOTO
l~
Pixels
are
randomly
set
to
1 (ON)
over
the
defined
area
(the
entire
screen).
PSET
(-3~~,-2~~),1
The
values
for
(~)
are
accepted,
but
since
it
is
beyond
the
parameters
of
the
screen,
the
pixel
is
not
set.
l~
PSET
(32~,12~),1
2~
A$=INKEY$:
IF
A$=
""
THEN
2~
3~
PSET(32~,12~),~
Line
l~
sets
("turns
ON") a
pixel;
line
3~
resets
("turns
OFF")
the
same
dot.
----------ltadlOlIIaeIi
----------
-45-

Other manuals for Radio Shack TRS-80

Related product manuals