Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass a reference to an array member of an object?
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01298464
Message ID:
01298469
Views:
14
Jim,

You can also pass a reference to the object and then use its array proeprty in the called function;
* calling program
oMyObj = CREATEOBJECT("MyClass")

FunctionCall(oMyObj)

FUNCTION FunctionCall(toObj)

toObj.ArayProperty(1,2) = "Whatever"

RETURN
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform