TimerPause Function

Action

Pauses a timer.

Syntax

TimerPause (hTimer)
Variable Description
hTimer A handle to the timer to pause. HTIMER.

Notes

TimerPause pauses the specified timer. When you resume it with TimerResume, the timer will record the time that elapsed since you started it with TimerStart, minus the time it was paused.

An exception is raised if hTimer has not been started.

Example

HTIMER TotalTimer
TotalTimer = TimerCreate () // make a timer handle
TimerStart (TotalTimer) // initialize & start a timer
// ...
TimerPause (TotalTimer) // pause the timer