Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
For...Next Loops
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Divers
Thread ID:
01043033
Message ID:
01043042
Vues:
9
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform