Pending messages

John Craig john at splash21.com
Mon Jul 14 05:52:45 EDT 2014


Just an option.  Looking at Richmond's example, it may be desirable to 
always finish with the button visible and the KNT field updated - ony 
Richmond knows for sure!

:D


On 14/07/2014 10:43, Mark Schonewille wrote:
> 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
>>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>





More information about the use-livecode mailing list