You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Timer Library

16.0

Timer Library

Each script application has one timer at its disposal. The timer resolution depends on the platform. It is about 0.02 second on the handheld. Please be cautious with short timer periods on the handheld.

The script application should implement the on.timer() function to respond to timer expiration.

The timer continues to send ticks to the script application even when its window is not visible on the screen.

The timer is stopped automatically when the document containing the script application is closed or if the script application is deleted from the document.

Related Topics

getMilliSecCounter

start

stop