Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coding Standards
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00115272
Message ID:
00115372
Vues:
23
>
>First of all, my friend, you've demonstrated again why I think so highly of you.
>I made an assumption based on my knowledge of the inner workings other languages, where this is (or has been) the case (namely, that the function or expression is evaluated each time through). In fact, whatever occurs to the terminating value within the loop has no effect. In other words you can change the value of the terminator via an assignment and without impacting the number of iterations. Apparently (I checked) this has been the case ever since at least 2.5. It also explains, in part why FOR...ENDFOR loops are faster than DO WHILE...ENDDO.
>
>Bruce, nevermind what I said before. I'll think I'll change my signature now.

Okay :) What you said did make sense to me when I saw it, though, because, as you say, some other languages do this...I recall learning that somewhere (was it C?)
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform