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:
01043060
Vues:
8
Well its a lot of code but in a nutshell Im looking for something in .net that will do what "Loop" does in foxpro. Something like this:

For n=1 to 100
*--lots of code
if n=50
loop
endif

*--lots of code
if x=20
loop
endif

*--lots of code
Endfor



The foxpro way is just easy to read but its just one condition statement in the middle. I guess in .net I will just wrap the whole thing in an IF ELSE IF statement.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform