Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing array property of an object
Message
 
 
À
31/03/1999 23:10:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00204115
Message ID:
00204126
Vues:
13
Jim,

You can't. You have to copy the property using acopy() to a local memvar and send that.

You also can not send an object property by reference to a function ot api call.


>Has anyone figured out the right syntax for passing an array property or an object to a function or method?
>
>All of these give me a syntax error, and I am out of ideas:
>
>@.aArray
>@this.aArray
>@thisform.thisobject.aArray
>@(.aArray)
>@(this.aArray)
>@(thisform.thisobject.aArray)
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform