Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The features you miss the most
Message
De
07/06/2004 01:57:45
 
 
À
06/06/2004 21:13:55
Emmanuel Huybrechts
Technimeca International Corp.
Montréal, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00910611
Message ID:
00910637
Vues:
25
>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 :)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform