Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
For...Next Loops
Message
 
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:
01043042
Views:
10
This message has been marked as the solution to the initial question of the thread.
>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?

Rhys,

I do not know, but loop is easily replaced with an opposite if, instead of:
for i=nStart to nEnd
   if <condition>
       loop
   endif
   <other commands>
next i
You can change it to
for i=nStart to nEnd
   if not <condition>
       <other commands>
   endif
next i
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform