Thread: For loops
View Single Post
  #8 (permalink)  
Old 12-03-2008, 6:42 PM
Hb_Kai Hb_Kai is offline
VB.NET Forum Newbie
.NET Framework: .NET 3.0 (VS 2005/2008)
 
Join Date: Dec 2008
Age: 19
Posts: 10
Reputation: 18
Hb_Kai is on a distinguished programming path ahead
Default

Okay, thanks for the help. I think I'm beginning to get it now.

1. For i (name of loop's variable)
2. = 0 (where to begin from)
3. To *variable* (where to finish the loop and continue to next loop thereafter)

4. next i (loop again)

So, 1 gives the name of the loop, 2 tells VB where to begin from, 3 tells VB where it has to loop to until required loops have finished, if required loops have finished it avoids 4 because it's done what it has to, if not then 4 tells VB to loop the variable again.

Is that right?
Reply With Quote