xpxCopyAggrElements


 

FUNCTION xpxCopyAggrElements (sourceAggrId              : AGGREGATE OF GENERIC;
                              firstIndexInSource        : INTEGER; 
                              maxElementsToCopy         : INTEGER; 
                              VAR actualElementsCopied  : INTEGER; 
                              targetAggrId              : AGGREGATE OF GENERIC; 
                              firstIndexInTarget        : INTEGER)  
                              status                    : INTEGER;
 

The xpxCopyAggrElements function copies aggregate elements from source to target aggregate.

Arguments


TypeNameComment
AGGREGATE OF GENERICsourceAggrIdA numeric aggregateID that uniquely identifies the source aggregate instance in the operation
INTEGERfirstIndexInSourceSpecifies the index of the first element to copy from the source aggregate. The index range is:
  • For ARRAY:  lowerBound <= sourceIndex <= upperBound
  • For all other aggregates:   0<= sourceIndex < members in aggregate
INTEGERmaxElementsToCopySpecifies the maximum number of elements to copy.  When <maxElementsToCopy> = 0 then all elements in the source aggregate with an index >= <sourceIndex> will be copied.
INTEGERactualElementsCopied 
AGGREGATE OF GENERICtargetAggrIdA numeric aggregateID that uniquely identifies the target aggregate instance in the operation.
INTEGERfirstIndexInTargetSpecifies the index of the first element to from the target aggregate

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_XPX_Return_Value'.

Options


 

Example


<Missing Example>

 

See also

Filter by label

There are no items with the selected labels at this time.