%
%	\f(HDArray declarations\fP
%
%	We want a fixed sequence of elements such as strings, reals or ints.
%
%	We could just define a long list of names such as:

var foo1, foo2, foo3, foo4, foo5, foo6: string

%
%	Then we have to explicitly refer to each "foo" to use it.
%	Programming languages instead allows them to be grouped into
%	an \f(HDarray\fP.
%

var names: array 1..100 of string
var someReals: array -4..6 of real
var someInts: array 0..9 of int

%
%	Although it's "natural" to use a \f(HDsubrange\fP of 1..n
%	for an array, it is not necessary.
%

for i: -4..6 
	get someReals(i)
end for

for i: 0..9
	get someInts(i)
end for
