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 example:

  put "starting"
  put the seconds into tStart
  wait until the shiftkey is down or the seconds - tStart > 5
  put "stopping"

--
Jacqueline Landman Gay         |     [email protected]
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to