Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing array to a form
Message
 
 
To
13/06/2000 16:42:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00379967
Message ID:
00380025
Views:
21
>Hi Larry!
>
>I try your code, but when I compile my app, I receive the error message :
>"Unable to find Unknown MYARRAY"
>
>I will try with SET STEP ON of Nick

That is a compiler error that can be ignored. If the syntax of myArray(XX) is referenced within a procedure/method and no array has been dimensioned locally with that name, VFP looks for a program of that name. Since one doesn't exist, it throws a warning during compilation. You can avoid array compiler errors by including the following:

EXTERNAL ARRAY MYARRAY

Put this at the top of the method and the compiler errors will disappear (at least the ones related to this < g >).
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform