Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning multiple values from a form
Message
De
16/06/2000 00:24:26
 
 
À
15/06/2000 18:01:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00381069
Message ID:
00381191
Vues:
21
>What is the your preferred method to return more than one value from a form? Use an array? or pass a reference to a non-visual object? Or some other way?

Roi and Ken both gave good suggestions, but if I wanted to make this as simple as possible for myself and for other programmers, I would accept output parameters passed by reference.

For an example, check out the GridHitTest() method. That returns a value, plus 4 values gained by passing variables by reference.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform