Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Returning an Array from a function
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement