Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting a variable value?
Message
De
15/12/1999 09:55:16
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvanie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00303675
Message ID:
00304023
Vues:
30
>The variable is defined as a local variable within the click() method.
>I want to be able to "get at" this variable from another method
That defeats the purpose of a local variable

>Yup, I could do [custom property] that I suppose, but this is just for debugging, and I'm going for crude

I can't help you with the crude part (<g>) but if it's just for debugging, why not just look at the value in the debugger? If that's failing because the varible is deallocated when the method goes out of scope, then you'll have to assign the local variable's value to a public variable. (you can then remove the assignment and the public variable when you're done testing)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform