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:
01329789
Vues:
19
It's just the way it works. The 'read-only' access applies to the collection/array The FOR EACH loop iterates through.

>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
>
>
>>The FOR EACH loop provides 'read-only' access.
>>In case of arrays, it's the same as
>>
>>*FOR EACH scode IN thisform.aStatuscodes
>>FOR i=1 TO ALEN(thisform.aStatuscodes)
>>	scode = thisform.aStatuscodes[i]
>>...
>>
>>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform