Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 4258

For Each now iterates in index order!

$
0
0

I just noticed in the documentation that For Each now iterates through items by index order (item 1, item 2, etc). This is very useful and lets you eliminate a lot of Ubound code before each For…Next loop.

(I may just be late to the party here; I can’t tell when the change was made. The documentation for For Each used to contain an explicit warning that it did not necessarily go in any particular order.)

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4258

Trending Articles