The Wait command

Pete 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.

Pete
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
>> 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
>
>
> ______________________________**_________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode>
>
>



More information about the Use-livecode mailing list