Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem BUILDing when passing array as parameter
Message
De
20/02/2005 20:38:07
 
 
À
20/02/2005 20:26:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Divers
Thread ID:
00988736
Message ID:
00988738
Vues:
28
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform