Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FOR EACH vs FOR NEXT
Message
 
À
18/07/1999 15:37:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00242791
Message ID:
00242899
Vues:
29
>Hi Jim,
>
>>No you are incorrect. FOR EACH is intended for working through a collection of objects, while FOR/ENDFOR is for looping with a fixed number of iterations.
>
>FOR EACH can be used on any array and not just for controls, right? I'm a way from a VFP system right now.

Yes, but its purpose is to work through a collection of objects. That doesn't mean you can't use for other things as well, just that that is the design goal for the construct.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform