EasyManua.ls Logo

Radio Shack TRS-80 - Chapter 4: Exponential Notation; Exponential Notation

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
®
----------
4
SCREEN
~
5
CLR
l~
FOR
X=l~
TO
2~~
STEP
l~
2~
CIRCLE
(3~~,1~~),X,1",.9
3~
NEXT
X
4~
FOR
Y=l~
TO
2~~
STEP
l~
5~
CIRCLE
(3~~,1~~),Y,1",.1
6~
NEXT
Y
7~
FOR
Z=l~
TO
2~~
STEP
l~
8~
CIRCLE
(3~~,1~~),Z,1",.5
9~
NEXT
Z
l~~
GOTO
5
A
set
of
2~
concentric
ellipses
is
drawn
with
a
major
axis
on
Y,
a
set
of
2~
concentric
ellipses
is
drawn
with
a
major
axis
on
X,
and
a
set
of
2~
concentric
circles
is
drawn.
The
ellipses
and
circles
in
each
of
the
three
groups
are
concentric
and
the
radius
varies
from
l~
to
2~~.
CLR
Clears
the
Graphics
Screen
CLR
clears
the
Graphics
Screen.
Example
l~
SCREEN
~
2~
CIRCLE(32~,l2~),1~~,l
This
program
line
will
draw
a
circle.
Now
type:
CLR
<ENTER>
and
the
Graphics
Screen
will
be
cleared
but
the
Text
Screen
will
remain
unchanged.
This
can
be
seen
by
typing:
SCREEN
1
----------lIadI8I11aell----------
-23-

Other manuals for Radio Shack TRS-80

Related product manuals