Vector Basic Interpreter Basic 80 Reference Manual - page 44
of
190
D~
SK, Extended, Disk
To specify the maximum values for array variable
subscripts and allocate storaqe accordinqly.
If an array variable name is used without a
D~
statement, the maximum value of its·subscript(s)
is assumed to be 10.
If
a
subscript
is
used
that
is
qreater
than the max~um
specified, a
•Subscript out
of. ranqe·
error
occurs.
The
minimum
value
for
a
subscript
is
always 0,
unless otherwise specified with the OPTION
BASE
statement
(see Section 2.46).
The D~
statement sets all the elements
of
the
specified arrays to an initial value of zero.
10 DIM
A(20)
20 FOR
I-O
TO
20
30 READ A(I)
40 ~
I