Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem BUILDing when passing array as parameter
Message
From
20/02/2005 20:38:07
 
 
To
20/02/2005 20:26:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
00988736
Message ID:
00988738
Views:
30
This message has been marked as the solution to the initial question of the thread.
Jim,

Put
EXTERNAL ARRAY MyArray
somewhere in the code before you reference the array.

good luck
>I'm passing an array as a parameter to a method.
>
this.MyMethod(@MyArray)
>and I reference it satisfactorily within MyMethod
>
lnValue=MyArray(4) && and similar references
>This works all find in development.
>
>My problem occurs when I try to do a BUILD -- I get the message "unable to find unknown MyArray". Seems like I must inform it somehow that MyArray is an array, because it appears to want to look for it as a PRG.
>
>What's the little wrinkle I'm missing?
>
>Thanks,
>
>Jim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform