Information générale
Catégorie:
Codage, syntaxe et commandes
>>Claudio, this last change should not make a difference because FoxPro evaluates the expression following 'TO' only once, not every step of the for loop.
>
>oops, very well remembered. Thank you! :)
You're welcome, it is a feature of FoxPro that is often overlooked by people used to C style (Algol styled?) languages. Incidentally, the stepped variable is treated diffently than a standard FoxPro variable inside of the loop in that an error is generated if you assign a value to it of another type inside the loop.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement