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
 [EMAIL PROTECTED]

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to