Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Know Parameter Passed By Reference?
Message
De
29/11/2005 14:38:34
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01072940
Message ID:
01072963
Vues:
24
Yes, that would work (and is what I am doing now in lieu of a better way to tell in the function), but the calling code has to know to initialize the variable and then check it after. While that is always a good idea anyway, I was going for the straight true/false return value where the calling code could be blissfully ignorant of what was going on and just trust the TRUE or FALSE from the function...

Was also intrigued when wondering how one could tell between reference and value, and was hoping for some uber-guru to come up with an elegant trick. *smile*

JoeK
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform