Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Returning an array from a function
Hi everybody,
Im experiencing a problem trying to write a function that returns an array. When I assign the the function to the myarray i get "can't assign array" error. My question is: Is it possible to write a function which returns an array?
There are ways by using a sub which accepts the array but i was curious to see if i can return an array from a function.
Thank you,
Vlad
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