Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MisUnderstanding FOR EACH
Message
 
 
À
08/07/2008 15:18:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01329767
Message ID:
01329792
Vues:
20
>When I read the help on FOR-EACH I didn't find anything only providing 'read-only' access. Is it buried somewhere or did I simply miss it?
>
>And, once again, thanks for your help.
>
>.....Rich
>
See http://msdn.microsoft.com/en-us/library/ttw7t8t6(VS.80).aspx

and
The foreach statement is used to iterate through the collection to get the desired information, but should not be used to change the contents of the collection to avoid unpredictable side effects.


I would assume the same applies to other languages.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform