Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing array to a form
Message
 
 
À
13/06/2000 16:42:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00379967
Message ID:
00380025
Vues:
20
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform