General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only