Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing by reference form property arrays
Message
De
14/04/2000 01:30:35
 
 
À
14/04/2000 01:25:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00359674
Message ID:
00359677
Vues:
10
>I have a syntax error for the statement like this:
>
>omover.initChoices( @thisform.aleft )
>where aleft is form property array.
>
>Obviously it's inside form method
>
>Nothing occured to my mind than
>
>=acopy ( aleft , larray )
>omover.initChoices( @larray )
>
>Probably there is a better way of doing that.
>
>Thanks
>Michael

No, that's pretty much it. The only other way is to pass just an object reference, but then you have to know the array/property name you're going to deal with. I guess you could pass that, too, as an argument.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform