List Collection Accessor - CreateIterator Method

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

Member of List Collection Accessor (PRIM_LCAC)


Name Type Data Type Description
Result *Result (Optional) PRIM_LCIT Reference to the new iterator instance


CreateIterator method creates an instance of the an iterator component that enables iteration over the collection
The recommended method of iterating through a collection is using the FOR and ENDFOR command construct.
This feature is provide for completeness and is unlikely to be required for most development purposes.

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020