Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The features you miss the most
Message
From
07/06/2004 01:57:45
 
 
To
06/06/2004 21:13:55
Emmanuel Huybrechts
Technimeca International Corp.
Montréal, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00910611
Message ID:
00910637
Views:
24
>Oh, and I forgot that one feature I waited for in each version since FoxBase: a DO WHILE loop with a condition evaluated at the end of the loop. Like this:
>DO
> some commands
>WHILE i < 10
>
>or
>REPEAT
> some commands
>UNTIL i >= 10
>
>I believe every single language on the earth but Foxpro has this type of loops. We have DO WHILE (cond) ENDDO, FOR...ENDFOR, FOR EACH...ENDFOR, SCAN...ENDSCAN but no DO ... WHILE (cond)
>
>Ah... maybe in VFP version 10 :)

Whats the difference if the condition is evaluated at the start or end? It will run the loop the same? Wouldn't it? Please point out the flaws in my logic if I am completely incorrect. But to my knowledge and experience most other languages seem to evaluate the conditions at the top of the loop.

Chris.
Have a nice day :)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform