Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing objects in Arrays
Message
De
29/01/2002 11:10:18
 
 
À
29/01/2002 11:00:41
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00612195
Message ID:
00612210
Vues:
24
I have been using FOR and FOR EACH, I just wanted to know because I had to type that same statement in several times, I will create a func to do it.

Thanks
Kev

>>Hi
>>
>>I have an Array that contains a few objects. Is there a command similar to SetAll() that I can use to set values to all of the objects?
>>
>>Thanks
>>Kev
>
>I don't think so, but you can use a FOR EACH loop, or:
>
>
>for i = 1 to alen(aMyObjects)
>  aMyObjects(i).MyProperty = ...
>next
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform