When does recursion limit bite you?

Andre Garzia andre at andregarzia.com
Tue Oct 4 08:30:57 EDT 2011


Malte,

I've been bit by these one many times.

Check out http://docs.runrev.com/Property/recursionLimit

:-D

On Tue, Oct 4, 2011 at 4:34 AM, Malte Brill <revolution at derbrill.de> wrote:

> 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
>



-- 
http://www.andregarzia.com All We Do Is Code.



More information about the use-livecode mailing list