You can use a supplier object to iterate over items of a collection. Supplier objects are created from a snapshot of a collection. The iteration results are not affected by later changes to the source collection object.
Table 5.45. ooRexx Supplier Class
Object
|
↓
|
Supplier
|
new
|
allIndexes
allItems
available
getArrays
index
|
init
item
next
supplier
|