Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass property array
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00589949
Message ID:
00589992
Views:
9
>How to pass property array by reference with using the @ sing. Like with "Normal" arrays?

Pass the object itself.
* code in some object
This.ArrayProperty(1) = "ABC"
This.ArrayProperty(2) = "XYZ"

SomeotherObject.SomeMethod(This)
* Now This.ArrayProperty(2) = "DEF"
* code in SomeotherObject.SomeMethod
LPARAMETERS toParms
toParms.ArrayProperty(2) = "DEF"
RETURN
Previous
Reply
Map
View

Click here to load this message in the networking platform