Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21278

For i...Next (i)?

$
0
0
I hope someone can help me with this, though I don't know if this question is trivial at the very least.

I've quite a load of For...Next statements in my code, and in each subroutine that uses a For...Next statement, I use the same counter variable (say, intC).

Will that set-up cause my program any inconvenience?

Also, I would like to know if there is any difference between re-typing the counter beside the "Next" line of the loop (i.e., "Next intC") and not re-typing it at all (i.e., just "Next").

Thank you in advance!

Viewing all articles
Browse latest Browse all 21278

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>