Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass array as parameter?
Message
De
09/08/2006 12:13:17
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
09/08/2006 12:10:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01144213
Message ID:
01144214
Vues:
14
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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform