Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array to a function, different array back
Message
 
 
À
17/10/2003 17:00:07
Joel Hokanson
Services Integration Group
Bellaire, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00839921
Message ID:
00839935
Vues:
18
>How can I pass an array as a parameter to a function and then get a different array back as the results of that function???

You'll have to pass two arrays (both by reference), one input and another output.
DIMENSION laIn[1], laOut[1]
= ADIR(laIn, "*.*")
lnResult = MyArrayFunc(@laIn, @laOut)
...
FUNCTION MyArrayFunc(taIn, taOut)

...
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform