Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array parameter
Message
From
09/11/2002 09:42:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Array parameter
Miscellaneous
Thread ID:
00720625
Message ID:
00720625
Views:
43
Hi,
I like to send an array as parameter to a function:

function f(aArr)
x=aArr[1]
endfunc

If I do f(this.aX) I get "File 'aarr.prg' does not exist."

If I do f(@this.aX) I get "Alias 'THIS' is not found."

If I do
ACOPY(this.aX,aP)
f(@aP)
the function works OK.

Is there a better way to do this?
Next
Reply
Map
View

Click here to load this message in the networking platform