----------------------------
for x as integer = 1 to 10000
'.......
next
----------------------------
or
----------------------------
Dim x as integer
for x = 1 to 100000
........
next
----------------------------
----------------------------
for x as integer = 1 to 10000
'.......
next
----------------------------
or
----------------------------
Dim x as integer
for x = 1 to 100000
........
next
----------------------------
I still prefer the "old" (2nd) version because "go to definition" in the
context menu when you click on the word "Integer" does not work (yet). Well,
rarely used with Integer, but with other data types.
"Armin > I still prefer the "old" (2nd) version because "go to definition"
in the
I use the second "old" when I needs to exit a for loop and want to have the
latest index which cannot with the first.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.