Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
For...Next Loops
Message
From
23/08/2005 14:55:51
Keith Payne
Technical Marketing Solutions
Florida, United States
 
 
To
23/08/2005 14:45:58
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01043033
Message ID:
01043037
Views:
10
>In Foxpro we were able to put a conditional Loop statement between our For...Endfor statements. Is there any equivilant to this in vb.net?

In VB.NET, Exit For will break out of the loop.
For i as Integer = 0 to 99

' Break out of the loop when i gets to 10
If i % 10 = 0 Then
Exit For

Next i
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform