Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass array as parameter?
Message
From
09/08/2006 12:13:17
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
09/08/2006 12:10:25
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01144213
Message ID:
01144214
Views:
11
This message has been marked as the solution to the initial question of the thread.
>It works in command window when I call my procedure, but I got the following error when I try to compile the program.
>
>"Unable to find unknown aMyArray"
>
>I need some help. Thank you in advance.

The executable will probably still work. aMyArray might be the name of an array defined somewhere else (in another procedure).

Tell the compiler that the array is defined somewhere else, by using the EXTERNAL command.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform