Search found 2 matches

by MaxMax
Sat Jan 05, 2013 8:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Switch and Count?
Replies: 4
Views: 3242

Re: Switch and Count?

Hi jmburnod, thanks for that, I'm guessing the switch is like a flag, that can be thrown when certain criteria are met.? I have done this so far, but this does place the next button hit into the field "set2" if field "fld1" = field "fld2"then switch now put label of the target into field "set2" end ...
by MaxMax
Sat Jan 05, 2013 6:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Switch and Count?
Replies: 4
Views: 3242

Switch and Count?

hello, Is there a way in liveCode to set 'a switch' , so if something happens then set "switch" to true and if "switch" true then do something else..?? Also, whilst the "switch" is true, is there then a way to count the number of times that the 'on mouseup' has happened..? Then when the count = 5 th...