Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Equivalent of LOOP command
Message
De
14/05/2006 11:50:57
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 8.0
Divers
Thread ID:
01121694
Message ID:
01121770
Vues:
21
>You may use the continue statement from VB.<

Is this new to 2.0? When I loaded VS2005, I didn't load the help for VB since I don't use VB. I only have VB help for 1.1 and there is no continue command listed for VB.

~~Bonnie



>
>>C# has a continue statement, but I can't find anything comparable in VB. =(
>>
>>~~Bonnie
>>
>>
>>
>>>>There's an example in the documentation:
>>>>
>>>>For Counter = 0 To UBound(StringArray)
>>>>   If StringArray(Counter) = "" Then Exit For
>>>>   .
>>>>   .
>>>>   .
>>>>Next Counter
>>>>
>>>
>>>Exit For and Loop and two different things. The Loop skip to the next For and not out of it. Unless, there is something I am missing.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform