i follow the advice to use the following syntax:
for each obj in collection.count
...
next obj
rather than
for i = 0 to collection.count -1
...
next i
because it is said to be quicker.
but if, with the first syntax, i stop code execution part-way through the loop, how can i examine which member of the collection the code has reached?
thanks
gusset
for each obj in collection.count
...
next obj
rather than
for i = 0 to collection.count -1
...
next i
because it is said to be quicker.
but if, with the first syntax, i stop code execution part-way through the loop, how can i examine which member of the collection the code has reached?
thanks
gusset