Changes

Jump to navigation Jump to search

Category:timer

4 bytes removed, 12:37, 25 May 2011
Line 1: Line 1:  
== Quick Overview ==
 
== Quick Overview ==
 
    
 
    
Each script application has one timer at its disposal. The resolution of the timer depends on the platform. It is about 0.01 seconds on the hand-held device.
+
Each script application has one timer at its disposal.
 +
The resolution of the timer depends on the platform. It is about 0.01 seconds on the hand-held device.
 +
 
 
The script application should implement the “on.timer()” function to respond to timer ticks.
 
The script application should implement the “on.timer()” function to respond to timer ticks.
 
The timer continues to send ticks to the script application even when its window is not visible on the screen.
 
The timer continues to send ticks to the script application even when its window is not visible on the screen.
 +
 
The timer is automatically stopped when the document containing the script application is closed or if the script application is deleted.
 
The timer is automatically stopped when the document containing the script application is closed or if the script application is deleted.
     
+
 
 
== Pages ==
 
== Pages ==
 
*'''[[timer.start]]'''(time) : Starts the timer with the given ''time'' (in seconds)<br />
 
*'''[[timer.start]]'''(time) : Starts the timer with the given ''time'' (in seconds)<br />
 
*'''[[timer.getMilliSecCounter]]'''() : Returns the value of the milliseconds elapsed since the calculator's last boot.<br />
 
*'''[[timer.getMilliSecCounter]]'''() : Returns the value of the milliseconds elapsed since the calculator's last boot.<br />
 
*'''[[timer.stop]]'''() : Stops the timer.
 
*'''[[timer.stop]]'''() : Stops the timer.

Navigation menu