2 solutions :

1. use wait for 1 sec with messages

2. better : the send command

local Start, timerIsStarted

on startMyTimer
  put the seconds into Start
  put true into timerIsStarted
end startMyTimer

on myTimer
  if timerIsStarted then
    put (the seconds - value(Start)) into field "Timer"
    send "myTimer" to me in 1 sec
end if
end myTimer

Hope it helps.

Thierry Arbellot.

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
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to