EasyManua.ls Logo

Atari XL

Atari XL
262 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...
26
140
150
The A tar; XL
Handbook
PRINT
NEXT
A
Here
again
the
array
can
be
thought
of
as
a
collection
of storage
boxes,
this
time
laid
out
in
a
grid
as
shown
in
the
table
below.
The
two
columns
could
represent
for
example
the
number
of
iterns
in
stock,
and
the
price
of
each
item.
B =0
B= 1
A=O
34
3.7
A=1
7
6.85
A=2
302 0.35
The
Array
TABLE
You
can
use
arrays
with
one
or
two
dimensions,
but
no
more.
The
maximum
allowed
value
of
each
reference
number
may
be
anything
up
to
several
thousand,
but
this
depends
on
how
much
memory
is
occupied
by
the
program
itself,
and
by
the
other
variables
of
the
program.
A
DIM
command
must
be
included
at
the
beginning
of
any
program
which
will
use
arrays.
The
command
tells
the
computer
to
reserve
memory
space
for
the
array.
If
you
try
to
use
an
array
without
setting
its
dimensions
the
Atari
will
give
the
error
message
9'.
GETTING VALUES INTO PROGRAMS
It
would
be
very
inconvenient
to
have
to
alter
a
program
to
make
it
handle
different
numbers,
so
there
are
a
number
of
instructions
which
allow

Related product manuals