Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing an Array Param
Message
From
14/06/1999 19:59:59
 
 
To
14/06/1999 16:32:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00229698
Message ID:
00229793
Views:
19
Just to add what the others already said: object properties cannot be passed by reference, unless the property is a reference to another object (objects are always passed by ref in VFP).

Vlad

>How Can I pass an array to a method and have that method return an array. When I try this:
>
>?myFunc(@This.MyArray, 'prop1')
>
>I get an: "Alias "THIS" not found"
>
>I thought I'd be tricky and use a macro sustitution but it didn't help. TIA
Previous
Reply
Map
View

Click here to load this message in the networking platform