Restrictions on Array Structure
Because each row in an array points to an object of a given system or user class, an array cannot consist of a single attribute whose data type is simple, such as an integer or varchar. To create a single-column array that contains integers, for example, you must use the IntegerObject system class. To access the value of the IntegerObject, use its Value attribute.
The following statement puts the value of the third row of a single-column array of IntegerObjects into an integer variable named intvar:
intvar = intarray[3].intcol.Value;
To create a single-column array that contains varchars, point to the StringObject system class.
For more information about the Value attribute of these object types, see the Language Reference Guide.
Last modified date: 12/20/2023