EasyManuals Logo

Radio Shack CCR-81 Operation Manual

Radio Shack CCR-81
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
Page #43 background imageLoading...
Page #43 background image
Computer
Graphics
Operation
Manual
----------TRS-BO
®
----------
Reads
and
prints
the
value
of
the
pixel
at
the
point's
coordinates
(3~~,1~~)
and
displays
its
value:
1.
PRINT
&POINT(3~~~,1~~~)
Since
the
pixel
is
off
the
screen,
a
-1
is
returned.
PRINT
&POINT(-3~~~,-1~~~)
Since
the
pixel
is
off
the
screen,
a
-1
is
returned.
PSET (
2~~
,
l~~)
,11
PRINT
&POINT(2~~,1~~)
Reads
and
prints
the
value
of
the
pixel
at
the
point's
coordinates
(2~~,1~~)
and
displays
its
value:
11.
l~
PSET(3~~,1~~),1
2~
IF
&POINT
(3~~,
l~~
)=1
THEN
PRINT "GRAPHICS
BASIC!"
Sets
the
point
ON.
Since
the
point's
value
is
1,
line
2~
is
executed
and
Graphics
BASIC
is
displayed:
GRAPHICS
BASIC!
5
SCREEN
~
l~
PSET(RND(64~),RND(24~»,1
2~
IF
&POINT(32~,12~)=1
THEN
STOP
3~
GOTO
l~
Sets
points
randomly
until
(32~,12~)
is
set.
5
CLR
l~
LINE(5~,8~)-(12~,l~~),1,BF
2~
PRINT
&POINT(1~~,8~)
3~
PRINT
&POINT(11~,8~)
4~
PRINT
&POINT(115,9~)
5~
PRINT
&POINT(5~,4~)
6~
PRINT
&POINT(13~,12~)
The
first
three
pixels
are
in
the
filled
box,
so
the
value
1
(one)
is
displayed
for
each
of
the
statements
in
lines
2~,
3~,
and
4~.
The
pixels
specified
in
lines
5~
and
6~
are
not
in
the
shaded
box
and
~s
are
returned.
----------ltadlOlIIaeIl----------
-41-

Other manuals for Radio Shack CCR-81

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Radio Shack CCR-81 and is the answer not in the manual?

Radio Shack CCR-81 Specifications

General IconGeneral
BrandRadio Shack
ModelCCR-81
CategoryDesktop
LanguageEnglish

Related product manuals