Is the iterator at the end of the collection? |
Member of Keyed Collection Iterator (PRIM_KCIT)
Data Type - Boolean
The AtEnd property will return True if the iterator does not have a current item.
Every time an iterator is moved, the AtEnd can be tested to determine if there is an item available from the iterator.
The best way to iterate through a collection is to use the FOR/ENDFOR commands.