Hi Blueboy.
[blocks]<reset timer>[/blocks]
will revert the timer to 0.
If you want the timer to be able to pause and resume, I would rather use a timed variable loop instead of the timer block.
Something like:
set playtime to 0
forever if running=1
wait 1 sec
change playtime by 1
end
when key space pressed
set running to 0
hope that helps.
Last edited by Jens (2007-09-18 14:00:22)
Offline
You can also record the timer at various times to time just selected intervals.
For example, if you want to time the time between space clicks:
wait until key space down
set old_time to timer
wait until not key space down
wait until key space down
say timer - old_time
Offline