RE: The Wait command

2011-06-24 Thread Ralph DiMola
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

RE: The Wait command

2011-06-24 Thread Ralph DiMola
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

Re: The Wait command

2011-06-24 Thread J. Landman Gay
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.

Re: The Wait command

2011-06-24 Thread Pete
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

Re: The Wait command

2011-06-24 Thread Pete
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

Re: The Wait command

2011-06-24 Thread John Craig
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

Re: The Wait command

2011-06-24 Thread Pete
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

Re: The Wait command

2011-06-24 Thread J. Landman Gay
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

Re: The Wait command

2011-06-24 Thread Bob Sneidar
> > 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

Re: The Wait command

2011-06-24 Thread John Craig
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> > ___ &

Re: The Wait command

2011-06-24 Thread Mark Schonewille
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

The Wait command

2011-06-24 Thread Pete
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