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

Compare with Current View Page History

« Previous Version 4 Current »

Array Collection - CreateIterator Method

CreateIterator method creates an iterator component that enables iteration through the collection

Member of Array Collection (PRIM_ACOL)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

PRIM_ACIT

Reference to the new iterator instance

Details

CreateIterator method creates an instance of the iterator component that enables iteration over the collection.

The recommended method of iterating through a collection is using the FOR/ENDFOR command construct.

This feature is provided for completeness and is unlikely to be required for most development purposes.

Example

Example syntax for the FOR/ENDFOR constructs to iterate over a collection.

     For each(#Item) in(#Collection)
* Processing here
Endfor


See also

All Component Classes
Technical Reference

  • No labels