Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New VB Features
Message
 
À
05/10/2000 15:48:00
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00425458
Message ID:
00425602
Vues:
25
>>>Oh I can hear the wailing now...:-)
>
>It really is a drag. I've been learning VB and of course one of the challenges at first is the syntax difference. Then you start to get used to it and Whoop... there it is! :(

Well, the WEND statement is a leftover from BASICA, I think, that was carried over. Hmm...dropped some backward compatibility. Actually, besides FOR...NEXT, VB also supports the following iteration structures:
' Pre-test
Do [{While | Until} condition]
[statements]
[Exit Do]
[statements]

Loop
' And Post-test
Do
[statements]
[Exit Do]
[statements]

Loop [{While | Until} condition]
While...Wend is strictly a holdover.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform