Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »


 
SYNTAX:
 
xpfGetAggrByIndex (aggrId       : AGGREGATE OF GENERIC;                    elementIndex : INTEGER)                    elementValue : GENERIC;
 
The xpfGetAggrByIndex function returns the data value in the actual aggregate element in the argument <elementValue> for the specified aggregate, <aggrid>, and index of the element, <elementIndex>.
This operation is applicable to ordered aggregates, i.e. ARRAY and LIST type aggregates. The actual aggregate element is specified by the element index. Element index zero is the lowest index in a LIST, hence the legal indexes for a LIST are: 0 <= index <= number of elements in LIST. The legal index range for ARRAY is as found in the actual ARRAY declaration in the related EXPRESS schema.
The model that holds the actual aggregate must be open before this function can be successfully performed.
This function is equivalent to the EDMinterface function sdaiGetAggrByIndex.
See also xpxGetAggrByIndex and xpfGetAggrByIterator.

  • No labels