7.2.1 Creating Arrays with the DECLARE Statement
The DECLARE statement creates and names variables and
arrays. All elements of arrays created with the DECLARE
statement are initialized to zero or the null string. The fol-
lowing statement creates a longword integer array with 11
elements:
DECLARE LONG FIRST_ARRAY(1980 TO 1990)
Note that the STRING data type with the DECLARE state-
ment causes the creation of an array of dynamic strings. To
create an array of fixed-length strings, declare the array in
a COMMON or MAP statement or as part of a RECORD
structure.