Static variables in methods called by a timer?
Static variables in methods called by a timer?
- Subject: Static variables in methods called by a timer?
- From: David Newberry <email@hidden>
- Date: Sun, 10 Nov 2002 10:41:47 -0800
Hello all,
I seem to have run into a problem with using static variables in a
method which is called by a timer. Maybe I have missed the mark here,
but on two variables that I recently changed to static in this method,
they always report the value 0 (they're floats) and in the debugger are
shown as "out of scope". Am I not allowed to do this, or perhaps did I
simply just make some other bizarre mistake?
Thanks,
-David Newberry
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.