Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning an array from a form
Message
De
16/04/2005 08:41:48
 
 
À
15/04/2005 20:00:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7
Database:
Visual FoxPro
Divers
Thread ID:
01004788
Message ID:
01005439
Vues:
35
Hi Fred.

Oh, but you can return an array, starting with VFP7:

Ah yes, you are right. I had forgotten about that < s >. You motivated me to go look at the help file and I found this:

Because such arrays must be in scope after the method call, LOCAL and PRIVATE arrays are invalid in these declarations. You must use either a PUBLIC or a member array.

So, for all practical purposes, you really need to return the array in an object anyway, don't you? I bet you are like me - the more times you see the word PUBLIC in the code, the higher your rate goes < vbg >.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform