Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Who'd have thought....
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00285125
Message ID:
00285400
Vues:
19
>This FOR loop would fire???
>
>FOR i = 0 TO 0
> WAIT WIND ALLT(STR(i))
>ENDFOR
>
>
>
>Wayne

Wayne,

This si "by design". A FOR loop always fires at least once. The evaluation of the ending value is on the ENDFOR line and VFP must run the loop at least once to get to that line. Use a DO WHIULE loop if you need it to be otherwise.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform