Difference between revisions of "timer.getMilliSecCounter"

From Inspired-Lua Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
Returns the amount of milliseconds elapsed since last calculator reboot.<br />
 
Returns the amount of milliseconds elapsed since last calculator reboot.<br />
 
In the Computer software emulator, it returns an absolute negative time.
 
In the Computer software emulator, it returns an absolute negative time.
 +
<br />
  
 
The counter rolls over to zero when it passes 2<sup>32</sup> milliseconds.  
 
The counter rolls over to zero when it passes 2<sup>32</sup> milliseconds.  

Revision as of 13:12, 25 May 2011

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

Returns the amount of milliseconds elapsed since last calculator reboot.
In the Computer software emulator, it returns an absolute negative time.

The counter rolls over to zero when it passes 232 milliseconds.

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


Syntax

timer.getMilliSecCounter()
(No arguments)

Example

theTime = timer.getMilliSecCounter()

See also