Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
New VB Features
Message
 
To
05/10/2000 15:48:00
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00425458
Message ID:
00425602
Views:
24
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform