Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning an array
Message
 
 
À
11/11/2002 09:25:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00720959
Message ID:
00720969
Vues:
9
In VFP prior version 7 you cannot return array at all. In VFP7 you can but with some limtations. It realy make sense to use in methods only.
In any VFP version you can pass array by reference into function and populate it there.
= UDF(@aSomeArray, para1, para2,...)
>How can I return an Array?
>
>For example:
>
>aSomeArray = UDF(para1, para2,...)
>
>
>
>UDF()
>   LPARAMETERS para1, para2....
>   some code for filling an array...
>   RETURN WHAT????
>
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform