Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting a variable value?
Message
From
15/12/1999 09:55:16
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvania, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00303675
Message ID:
00304023
Views:
29
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform