company logo

Array type

Keywords:  array

An array specification allows defining an array of elements of a common data type. The simple_type_spec refers to the data type of instances in the array. The array dimension defines the maximum number of instances in the array.

Array types are not yet supported for persistent classes, since references and fixed arrays provide sufficient support. One may define array types in transient structures or for local variables or parameters, but there is no template class implemented for those types. Hence, array template classes have to be implemented for using them in structure definitions.

Definition: 

array_type := array_spec '<' simple_type_spec [array_dim] '>'