EasyManuals Logo

Atari 400 User Manual

Atari 400
326 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 #52 background imageLoading...
Page #52 background image
50
User's
Handbook
to
the
Atari
400
/8
00
Computers
An
array can also consist
of
two
dimensions
. Such an array
is
known
as
a
two-dimensional
array (or table).
An
example
of
an
array
of
4 rows and 3
columns
is
shown in
Illustration
3-2.
A
two-dimensional
array contains
two
subscripts. The first
subscript
contains
the
row
location
,
while
the
second subscript
contains
the
column
location
. The subscripted variable
A(l
,
O)
identifies
the
darkened
area in
the
array
shown
in
Illustration
3-
2.
Illustration 3-2.
Two-Dimensional
Array
Columns
°
1
2
°
1
Rows
2
3
I n
the
Atari BASIC, arrays can be used
to
represent
numeric
data.
String arrays
cannot
be used in Atari BASIC.
Before any array variable can be
us
ed in a
program
,
the
size
of
that array must have been
defined
so
that BASIC can reserve a
memory
area
for
it. This
is
also
accomplished
with
the
DIM
statement. A single
dimension
num
eric array
with
11
variables
could
be
defined
with
the
following
DIM
statement:
DIM
A(10)
Remember
that
array subscripts begin
with
0.
The
refore
,
the
numeric
array A
which
was
dimensioned
in
the
preceding
statement,
would
have space reserved
for
the
11
array elements,
not
10
.

Other manuals for Atari 400

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atari 400 and is the answer not in the manual?

Atari 400 Specifications

General IconGeneral
ManufacturerAtari
Model400
TypeHome Computer
Release Year1979
CPUMOS Technology 6502
CPU Speed1.79 MHz
ROM10 KB
Operating SystemAtari OS
KeyboardMembrane keyboard
RAM8 KB (expandable to 48 KB)
GraphicsANTIC and GTIA chips
Sound4 channels
DisplayRF output for connection to TV
StorageOptional cassette tape drive or floppy disk drive
PortsCartridge
Display Resolution320x192 (16 colors)

Related product manuals