Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing array property of an object
Message
 
 
To
31/03/1999 23:10:00
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00204115
Message ID:
00204126
Views:
14
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
Previous
Reply
Map
View

Click here to load this message in the networking platform