TmReset Statement
Resets the timers used by the Tmr function.
Syntax
TmReset timerNumber
Parameters
- timerNumber
- Specify the number of the timer out of 64 timers to be reset as an integer (0 to 63).
Description
Resets and starts the timer specified by timerNumber.
Use the Tmr function to retrieve the elapsed time for a specific timer.
See Also
Tmr
TmReset Statement Example
TmReset 0 'Resets Timer 0
For i = 1 To 10 'Performs operation 10 times
GoSub CYL
Next
Print Tmr(0)/10 'Calculates and display cycle time