When does recursion limit bite you?

Matthias Rebbe matthias_livecode_150811 at m-r-d.de
Tue Oct 4 03:45:12 EDT 2011

Hi Malte,

i cannot enlighten you, but can remember that i got that "recursion limit" message, too. But i cannot remember which handler was affected. And it just happened 3 or 4 times. If i remember right only with GLX2 enabled. I will try to recap that, but have to remember first which project i was working on.



Am 04.10.2011 um 09:34 schrieb Malte Brill:

> Hi all,
> I am a little stumped atm. From time to time I see a "recursion limit reached" error popping up, even though there is (and this is debateable) no recursion happening in my scripts. At least not obviously. But it seems that one has not understood recursion as long as one has not understood recursion. The handler in question is called from mouseMove. So I guess there is a lot of calls piling up there when the mouse is moved quickly. However, recursion might be a bit misleading here, as the handler does not call itself. Or does the error message also apply for the message queue? Can someone enlighten me? I am currently thinking of flushEvents("mouseMove") at the end of the handler that gets called from mouseMove? Do you think that will work?
> All the best,
> Malte
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

More information about the Use-livecode mailing list