The Wait command

Pete pete at mollysrevenge.com
Fri Jun 24 16:55:22 EDT 2011


Thanks - sounds like this is trivial.  Wouldn't it be nice though if the
wait command could do "wait until <condition> or <time>"
Pete
Molly's Revenge <http://www.mollysrevenge.com>




On Fri, Jun 24, 2011 at 1:26 PM, John Craig <john at splash21.com> wrote:

> Try something like;
>
> Put the millisecs + 5000 into tTime
> Repeat until the millisecs > tTime or the uFlag of this card = true
> Wait for 100 millisecs with messages
> End repeat
>
> Sent from my iPhone
>
> On 24 Jun 2011, at 20:58, Pete <pete at mollysrevenge.com> wrote:
>
> > Trying to figure out how to suspend processing until either a condition
> is
> > true OR a specific amount of time has elapsed.  Looks like the wait
> command
> > allows one or the other but not both.  Any ideas how to do this?
> > Pete
> > Molly's Revenge <http://www.mollysrevenge.com>
> > _______________________________________________
> > 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
>
> _______________________________________________
> 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