Changes

Jump to navigation Jump to search

Category:timer

80 bytes added, 18:36, 22 October 2011
no edit summary
Line 1: Line 1:  
== Description ==
 
== Description ==
Each script application has one timer at its disposal.
+
Each script application has one timer at its disposal.<br />
 
The resolution of the timer depends on the platform. It is about 0.01 seconds on the hand-held device.
 
The resolution of the timer depends on the platform. It is about 0.01 seconds on the hand-held device.
   Line 8: Line 8:  
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.
    +
See an example at http://www.inspired-lua.org/2011/05/linking-events/
 
== Quick Overview ==
 
== Quick Overview ==
*'''[[timer.start]]'''(time) : Starts the timer with the given ''time'' (in seconds)<br />
+
*'''[[timer.start]]'''(period) : Starts the timer with the given ''period'' (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.
68

edits

Navigation menu