StructureArray - Create an array of structures of the same class |
Top Previous Next |
Syntax
<aStructures> := StructureArray( <oStructureClass>, <nDim1> {,<nDim2..n> } )
Parameters
<oStructureClass>
Class object of the structure to be used for the array.
<nDim1..n>
List of dimensions of the array to be created. If nDim1 is passed as an array, it is used to define the extents of the created array. In this case the following parameters are not used.
Return value
An array of structures of class <oStructureClasss> with the dimensions <nDim1> to <nDimn>.
Description
StructureArray creates a symmetric array with the dimensions <nDim1> to <nDimn> and fills it with empty structures of class <oStructureClass>. Specifying only <nDim1> will create a list, specifying <nDim1> and <nDim2> will create a matrix of structures and so on.
Instead of passing a separate parameter for every dimension in the target array, an array containing the extents of all dimensions can be passed in <nDim1>.
Classification
Core
Category
Quick Info
Library: cckptcor.lib / cckptcor.dll
See also
StructureArrayFrom, FilledStructureArray
Example
|