setptop handler and recursion limit?

Klaus major-k klaus at major-k.de
Fri Jun 24 07:12:45 EDT 2016


Hi all,

I have a handler in the stack script like this:
setprop whatever tValue
   set the whatever of the target to tValue
   answer "The property whatever has been modified for" && the target
end x_value

And on a card I have a button:
...
set the whatever of this cd to 22
...

Now in LC 8.01 I get "Recursion limit" error!?

I thought that this would not happen for setprop handlers?
See my setprop script, I actually need to "pass" the message 
to really set that value. Know what I mean?

Thanks for any hint!

P.S.
I opened that little stack(only that stack script and one card with one button)
 in LC 7.1.x, clicked the button and it opened an EMPTY script editor window 
for the STACK script and then LC got stuck, had to force quit!? 


Best

Klaus
--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the Use-livecode mailing list