recursion limit

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Joerg
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 21
Joined: Sun Dec 20, 2009 12:35 am

Re: recursion limit

Post by Joerg »

GREAT! Thanks again!

Best regards

Jörg
BillOne
Posts: 4
Joined: Tue Dec 05, 2017 4:15 am

Re: recursion limit

Post by BillOne »

Hi , I am having the exact same message when I open a stack and it does not stop, what should I do ? Here is the message : revStackNameIsIDEStack has reached the recursion limit of : 400000. Execution will be terminated to prevent hang
BillOne
Posts: 4
Joined: Tue Dec 05, 2017 4:15 am

Re: recursion limit

Post by BillOne »

mwieder wrote: Wed Jun 06, 2012 5:50 pm Would something like this do the trick?

Code: Select all

local sRecursionLoop --(sic)

on mouseUp
    put 10000 into sRecursionLoop
    doSimulation
end mouseUp

on doSimulation
    subtract 1 from sRecursionLoop
    if sRecursionLoop > 0
        send "doSimulation" to me
    else
        answer "fertig"
    end if
end doSimulation


Hi , I am having the exact same message when I open a stack and it does not stop, what should I do ? Here is the message : revStackNameIsIDEStack has reached the recursion limit of : 400000. Execution will be terminated to prevent hang
BillOne
Posts: 4
Joined: Tue Dec 05, 2017 4:15 am

Re: recursion limit

Post by BillOne »

Klaus wrote: Wed Jun 06, 2012 4:05 pm Hi Joerg,

"recursionlimit" is NOT the number of runs of a handler but the size in bytes of the calls!
You can SET this to a higher value and see if that helps.

Check the dictionary for more info.


Best

Klaus

Hi , I am having the exact same message when I open a stack and it does not stop, what should I do ? Here is the message : revStackNameIsIDEStack has reached the recursion limit of : 400000. Execution will be terminated to prevent hang
Post Reply