recursion limit

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

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

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 » Wed Jun 06, 2012 7:53 pm

GREAT! Thanks again!

Best regards

Jörg

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

Re: recursion limit

Post by BillOne » Sun Jan 27, 2019 2:35 am

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 » Sun Jan 27, 2019 2:36 am

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 » Sun Jan 27, 2019 5:23 am

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

Return to “Talking LiveCode”