Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return Array
Message
De
22/11/1999 09:04:09
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
22/11/1999 08:47:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00293849
Message ID:
00293854
Vues:
26
You could instead pass an array to the procedure by reference and modify it in the proc.
DIMENSION laArray[1]
MyProc( @laArray )

FUNCTION MyProc
LPARAMETER taArray
taArray[1] = 3
RETURN
or you could pass an object (with an array property) instead. The object property is passed by reference, btw.

> How could I return an array from procedure? I tried
>RETURN laArray and RETURN @laArray... but failed....
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform