EasyManua.ls Logo

Radio Shack TRS-80 - Page 28

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-aO
ยฎ
----------
or
Integer
Examples
DIM
V%
(186)
1.0
DIM
V(249)
2.0
CIRCLE
(65,45),2.0,1
3.0
GET
(1.0,1.0)-(12.0,8.0),V
An
array
is
created,
a
circle
is
drawn
and
stored
in
the
array
via
the
GET
statement's
rectangular
pixel
area's
parameters
(i.
e.,
<1.0,1.0) -
<12.0
, 8.0) ) โ€ข
Calculate
the
dimensions
of
the
array
this
way:
Rectangular
pixel
area
is
III
x
71.
That
equals:
111/8=
14
* 71
=994
+ 4 =
998/4
=
25~
(10,10)
,....-------------..,
(120,10)
Rectangular
Pixel
Area
(10,80)
(120,80)
Figure
11
1.0
DIM
V(3.0,3~)
2.0
CIRCLE
(5~,5.0),1~
3.0
GET
(1.0,1.0)-(8.0,8.0),V
A
two-dimensional
array
is
created,
a
circle
is
drawn
and
stored
in
the
array
via
the
GET
statement's
rectangular
pixel
area's
parameters
(i.e.,
(1.0,1.0)-(8.0,8~ยป.
---------lIadlelhaell---------
-26-

Other manuals for Radio Shack TRS-80

Related product manuals