Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing array property of an object
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00204115
Message ID:
00204158
Views:
21
Hi Jim,

>Has anyone figured out the right syntax for passing an array property or an object to a function or method?

You can't pass any property by reference. You either have to copy the property into a local variable (using ACOPY() in this case), or you pass the object reference and the property name. Several months ago I wrote an Ask Advisor article that explains this more in detail.

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform