Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement