General information
Category:
Coding, syntax & commands
You should pass the class object by parameter instead and have the method use the class property instead:
MyFunc(THIS) && Pass the object
MyFunc():
LPARAMETERS oClass
? oClass.MyArray[1]
oClass.MyArray[1] = "Test"
HTH
>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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only