Pending messages

John Craig john at splash21.com
Mon Jul 14 05:34:19 EDT 2014


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


On 14/07/2014 10:01, Mark Schonewille wrote:
> repeat until KK = 25
>      if the cClicked of btn "Cancel" is true then exit repeat
>      set the vis of btn "B" to false
>      wait 20 ticks with messages
>      if the cClicked of btn "Cancel" is true then exit repeat
>      set the vis of btn "B" to true
>      wait 20 ticks with messages
>      if the cClicked of btn "Cancel" is true then exit repeat
>      put KK into fld "KNT"
>      add 1 to KK
>    end repeat 





More information about the use-livecode mailing list