v.com] On Behalf Of John Craig
Sent: Friday, June 24, 2011 5:07 PM
To: How to use LiveCode
Subject: Re: The Wait command
This works for what I understand the original scenario was. If you
click button 1, it waits either until the 10 seconds has elapsed or
until button 2 is pressed.
:)
Add
nt: Friday, June 24, 2011 5:07 PM
To: How to use LiveCode
Subject: Re: The Wait command
This works for what I understand the original scenario was. If you
click button 1, it waits either until the 10 seconds has elapsed or
until button 2 is pressed.
:)
Add 2 buttons to a new stack;
1st but
On 6/24/11 3:52 PM, Bob Sneidar wrote:
See this is the perfect example of why some kind of multiple
processing thing is needed. If you say
wait until then no other processing can take place.
The OP specifically wanted to block all other processes, so in this case
"wait" is a good solution.
Hi Bob,
This is definitely new territory for me but I think perhaps the "with
messages" option of the wait command does what you want. The dictionary
indicates that "with messages" allows the user to carry on doing other
things in LC while it is waiting for suspended handle
Gay wrote:
> On 6/24/11 2:58 PM, Pete 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
This works for what I understand the original scenario was. If you
click button 1, it waits either until the 10 seconds has elapsed or
until button 2 is pressed.
:)
Add 2 buttons to a new stack;
1st button script;
on mouseUp
set the uFlag of this card to false
put the millisecs + 1000
Thanks - sounds like this is trivial. Wouldn't it be nice though if the
wait command could do "wait until or "
Pete
Molly's Revenge <http://www.mollysrevenge.com>
On Fri, Jun 24, 2011 at 1:26 PM, John Craig wrote:
> Try something like;
>
> Put the millise
On 6/24/11 2:58 PM, Pete 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?
You can use both in a wait command, for
>
> On 24 Jun 2011, at 20:58, Pete 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
ther 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>
> ___
&
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
us
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.mollysrev
12 matches
Mail list logo