The Wait command
J. Landman Gay
jacque at hyperactivesw.com
Fri Jun 24 16:53:45 EDT 2011
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 | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list