send "subCheckNow" to me, or?
Mark Smith
mark at maseurope.net
Fri Jul 7 18:22:50 EDT 2006
For some reason I'd imagined that functions could recurse, but not
handlers - I don't know why I thought this, and in fact it would be
strange if it were true.
Perhaps because I've only ever used recursion in functions.
So thanks for pointing it out!
Best,
Mark
On 7 Jul 2006, at 22:53, Mark Wieder wrote:
> Mark-
>
> Friday, July 7, 2006, 1:56:12 AM, you wrote:
>
>> The 2nd won't work, I'm pretty sure.
>
> Nay, not so. I use recursion all the time. I'm not sure what the
> recursion limit is dependent on - the following allows me 1445 levels
> before causing an error:
>
> local x=0
>
> on mouseUp
> grunt
> end mouseUp
>
> on grunt
> put "hello:" & x
> add 1 to x
> grunt
> end grunt
>
> --
> -Mark Wieder
> mwieder at ahsoftware.net
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list