Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
For...Next Loops
Message
De
23/08/2005 14:55:51
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
 
À
23/08/2005 14:45:58
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:
01043037
Vues:
9
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform