ArcBasicDocs

WaitTimer

Waits for the timer to tick; returns ticks since the last wait.

WaitTimer ( timer )

Parameters

timer
the timer's handle, from CreateTimer.

Description

Waits for a timer's next tick, then gives back how many ticks went by since the last wait: normally 1, but more if the program fell behind. A game can use that number to catch up, for example by moving things on that many steps.

See also