thierry.arbellot at wanadoo.fr
Mon Dec 8 07:21:02 CST 2003
2 solutions :
1. use wait for 1 sec with messages
2. better : the send command
local Start, timerIsStarted
put the seconds into Start
put true into timerIsStarted
if timerIsStarted then
put (the seconds - value(Start)) into field "Timer"
send "myTimer" to me in 1 sec
Hope it helps.
to stop the timer, set the flag timerIsStarted to false
On Saturday, December 6, 2003, at 11:04 PM, Paul Morran wrote:
> how can I keep a timer running and still allow the application to do
> other things?
> my timer code is just -
> put the seconds into Start
> repeat forever
> wait for 1 sec
> put (the seconds - value(Start)) into field "Timer"
> end repeat
> of course the 'repeat forever' means nothing else can happen meantime
> thanks for any insights
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the use-livecode