The Wait command
pete at mollysrevenge.com
Fri Jun 24 17:24:40 EDT 2011
I didn't get that from the dictionary entry for wait, although I guess
everything after "until" is just a compound condition. Never thought of
that, thanks for the idea.
Molly's Revenge <http://www.mollysrevenge.com>
On Fri, Jun 24, 2011 at 1:53 PM, J. Landman Gay <jacque at hyperactivesw.com>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
>> 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
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode