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:
01043151
Vues:
9
Rhys,
Now I understand. Some code is worth a thousand words :)
VFP's loop is exactly the same as C#'s continue (or vice versa). I have been looking through the docs now for about 10-15 minutes and I am unable to find the equivalent in VB.NET.

Einar

>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.
Semper ubi sub ubi.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform