Pending messages

Mark Schonewille m.schonewille at economy-x-talk.com
Mon Jul 14 05:43:41 EDT 2014


Yes, I thought of that, John, but if you do that, the script may run for 
another 20 ticks after the Cancel button has been clicked on.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Installer Maker for LiveCode:
http://qery.us/468

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi

LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 7/14/2014 11:34, John Craig wrote:
> Using Mark's example, another possible option is make the custom
> property a condition for the repeat;
>
> repeat until KK = 25 or the cClicked of btn "Cancel" is true
>       set the vis of btn "B" to false
>       wait 20 ticks with messages
>       set the vis of btn "B" to true
>       wait 20 ticks with messages
>       put KK into fld "KNT"
>       add 1 to KK
> end repeat
>





More information about the use-livecode mailing list