What is wrong with this script?

charles61 cszasz at mac.com
Thu Nov 4 20:44:11 EDT 2010


Crag,

I checked and rechecked the script but there were no typos or spaces. I ran the script several more times and got a dialog message:

The handler: mouseUp has reached the recursion limit of: 400000. Execution will be terminated to prevent hang.

i have never gotten this message before!

Charles Szasz
cszasz at mac.com




On Nov 4, 2010, at 7:31 PM, dunbarx [via Runtime Revolution] wrote:

> Charles. 
> 
> Good. This never happens to me. 
> 
> Your script can be shortened, and sped up, a bit. Watch line wraps: 
> 
> on doStuff3 
>     repeat with y = 1 to the number of marked cards 
>        repeat with b = 1 to the number of buttons of marked cd y 
>           if the style of button b of marked cd y = "checkbox" and the 
> hilite of button b of marked cd y = "true" then 
>                 send "mouseUp" to button b 
>              end if 
>        end repeat 
>     end repeat 
> end doStuff3 
> 
> The important thing here is to see that the references to remote cards can 
> substitute for actually going there. Sometimes navigating is better; usually 
> not. So you never actually have to go to each card.   You don't have to 
> lock anything, or save your location and return. 
> 
> By using the mark property, you don't need to test to see if a card is 
> marked. 
> 
> Craig 
> _______________________________________________ 
> use-revolution mailing list 
> [hidden email] 
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: 
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> View message @ http://runtime-revolution.278305.n4.nabble.com/What-is-wrong-with-this-script-tp3027821p3027960.html 
> To unsubscribe from What is wrong with this script?, click here.
> 


-- 
View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-is-wrong-with-this-script-tp3027821p3028016.html
Sent from the Revolution - User mailing list archive at Nabble.com.



More information about the Use-livecode mailing list