>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
You have to use aCopy()
acopy(This.MyArray, MyArray)
MyFunc(@MyArray, 'prop1')
acopy( MyArray, This.MyArray )
BOb