Difference between revisions of "timer.start"

From Inspired-Lua Wiki
Jump to navigation Jump to search
(Created page with "timer.'''start''' is a function that is part of the timer functions. Starts the timer with the given period in seconds.<br /> If the timer is already running...")
 
Line 16: Line 16:
 
! Parameter !! Type !! Description
 
! Parameter !! Type !! Description
 
|-
 
|-
| <u>period</u> || number || the time period
+
| <u>period</u> || number || the time period for the timer to start. Must be > 0.05
 
|-
 
|-
 
|}
 
|}
  
== See also ==
+
== Example ==
 +
<source>timer.start(0.5)</source>
 +
 
 +
== See also ==
 
*[[timer.stop]]
 
*[[timer.stop]]
  
 
<br />
 
<br />
 
[[Category:timer]]
 
[[Category:timer]]

Revision as of 13:29, 25 May 2011

timer.start is a function that is part of the timer functions.

Starts the timer with the given period in seconds.
If the timer is already running when this routine is called, the timer is reset to the new period.


This has been introduced in TI-Nspire OS 3.0 (Changes).


Syntax

timer.start(period)

Parameter Type Description
period number the time period for the timer to start. Must be > 0.05

Example

timer.start(0.5)

See also