BASIC FUNCTIONS SECTION 5.5
5.5.6
Function DIH allocates arrays within HUNTER.
Syntax
DIM variable name (array size)
DIM double precision variable name (array size)
DIM string variable name (array size, element size)
where array size and element size are numeric expressions.
Examples DIM A (25)
defines an array variable A of 26 elements, including the
element A(O). The array size must be positive.
DIM J4(100),J5(100),Q(1000),J(N)
defines multiple arrays. N is a previously defined variable.
Remarks There are three kinds of DIM statement in HUNTER Basic
Simple variables, double precision variables and strings.
NOTE: The maximum number of elements in a single array is
16,384.
All array types have a range from O (zero) to the limit
defined in the DIM statement.
Arrays can be allocated to any combination of variable
names.
Double precision arrays are defined in the same way except
for the use of
11
1
11
•
Each element has a 14-digit size.
DIM A!(25)
DIM AZ!(32)
define double precision arrays.
Space for string arrays is reserved in HUNTER memory using
VER.V09F
PAGE 5 - 27