I have run into an irritating situation... Basically, to
simplify code and make things more generic (i.e. no huge if-else
blocks), I am calling a function from a pointer within an
This mechanism works fine when I assign the function pointer
externally, but it appears that I cannot change the function
pointer while it is executing (i.e. within the body of the function
that is being called).
If this is unclear, follow up and I will try to clarify.
I would really like an explanation for this, since it seems
to contradict the language spec and basically defeats the purpose
of having this language construct.
I'm not sure why that wouldn't work...seems logical,but in
your example these are event handlers. Why not just work around the
problem by removing mouseDown() as an event handler and add