Recursive Handlers/Functions
Geoff Canyon
gcanyon at inspiredlogic.com
Thu Sep 4 10:38:01 EDT 2003
I'm coming late to the party (I haven't read everything in the
directory walker thread) but this isn't recursive code:
On Thursday, September 4, 2003, at 06:13 AM, wouter wrote:
> on doTheRecursiveDance
> add 1 to lCount
> put lCount
> if lCount < 10000 then send "doTheRecursiveDance" to me in 0.0001
> millisecs
> end doTheRecursiveDance
When you send something in time, the call stack is cleared as soon as
the routine exits. There is no limit to how far this routine could go.
regards,
Geoff Canyon
gcanyon at inspiredlogic.com
More information about the use-livecode
mailing list