EasyManuals Logo

Tandy 1000 Basic Reference Manual

Default Icon
411 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 #65 background imageLoading...
Page #65 background image
Chawter
61
Arravs
Defining
Arrays
You can define arrays in your
BASIC
program by placing a
DIM
statement at the beginning of your program or by setting the
value
of
an element in the program. For example:
cIC5)
=
300
automatically creates an array named A containing 6 elements
and assigns element
A(5)
the value
388.
Use this method only
if
your array contains fewer than
11
elements (8-10). If your array
contains more than
11
elements, you must use the
DIM
statement.
Use a DIM statement
to
reserve space in memory for each ele-
ment
of
the array. For example:
DIM
C#(99)
creates Array
C
and reserves memory space for 100 double preci-
sion
elements.
See the DIM statement in Chapter 10
for
more information on
creating arrays.
63

Table of Contents

Other manuals for Tandy 1000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tandy 1000 and is the answer not in the manual?

Tandy 1000 Specifications

General IconGeneral
ProcessorIntel 8088
Processor Speed4.77 MHz
RAM128 KB (expandable to 640 KB)
Operating SystemMS-DOS 2.11
ManufacturerTandy Corporation
Release Year1984
StorageSingle or double 5.25" floppy disk drive (360 KB), optional hard drive
SoundTandy 3-voice sound
PortsParallel, Serial
GraphicsCGA (Color Graphics Adapter)
Graphics Modes320x200, 640x200

Related product manuals