EasyManuals Logo

Radio Shack 26-1145 Operation Manual

Radio Shack 26-1145
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 #27 background imageLoading...
Page #27 background image
Computer
Graphics
Operation
Manual
-----------TRS-BO@
----------
program
--
each
real
number
in
your
storage
array
uses
four
memory
locations
(bytes).
The
array
must
be
large
enough
to
hold
your
graphic
display
and
the
rectangular
area
must
include
all
the
points
you
want
to
store.
Your
GET
rectangular
pixel
area
can
include
the
entire
screen
(i.e.,
GET(~,~)-(639,239),array
name),
if
the
array
is
dimensioned
large
enough.
To
determine
the
minimum
array
size:
1.
Divide
the
number
of
X-axis
pixels
by
8
and
round
up
to
the
next
higher
integer.
2.
Multiply
the
result
by
the
number
of
Y-axis
pixels.
When
counting
the
X-Y
axis
pixels,
be
sure
to
include
the
first
and
last
pixel.
3.
Add
four
to
the
total.
4.
Divide
by
four
(for
real
numbers)
or
two
(for
integers)
rounding
up
to
the
next
higher
integer.
The
size
of
the
rectangular
pixel
area
is
determined
by
the
(~)
coordinates
used
in
GET:
Position:
upper-left
corner
=
startpoint
=
(xl,yl)
lower-left
corner
=
endpoint
=
(x2,y2)
Size
(in
pixels):
width
=
x2-xl+l
length
=
y2-yl+l
Example
This
block
is
71
pixels
wide
on
the
X-axis
(l~
through
8~)
and
41
long
on
the
Y-axis
(l~
through
5~).
For
real:
71/8
= 9 * 41 =
369
+ 4 =
373/4
=
94
For
integer:
71/8
= 9 * 41 =
369
+ 4 =
373/2
=
187
Depending
on
the
type
of
array
you
use,
you
could
set
up
your
minimum-size
dimension
statement
this
way:
Real
DIM
V(
93)
----------lIadl8lhae1l----------
-25-

Other manuals for Radio Shack 26-1145

Questions and Answers:

Question and Answer IconNeed help?

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

Radio Shack 26-1145 Specifications

General IconGeneral
BrandRadio Shack
Model26-1145
CategoryDesktop
LanguageEnglish

Related product manuals