Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning an Array from a function
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Returning an Array from a function
Divers
Thread ID:
00001252
Message ID:
00001252
Vues:
97
Im trying to have a function return an array. I cant just:

DIMENSION aArray[30]
RETURN aTheArray

Because the the array will be released when the function ends. If I pass the array by refeence and redimension it, it will also be released when the function ends. I dont want to deeclare the array PUBLIC, because of there is a chance that the name may be used elsewhere in the application.

How does one do this?

Thanks,
JSKG
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform