Navigation:  thinBasic Modules > Core > Timing >

GetTickCount

Previous pageReturn to chapter overviewNext page

 

Description

 

Retrieves the number of milliseconds that have elapsed since the system was started.

 

Syntax

 

n = GetTickCount

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning





 

Remarks

 

When you need high-precision timing information, please use HiResTimer_Get function instead.

 

Restrictions

 

The resolution of the GetTickCount function is limited to the resolution of the system timer, which is typically in the range of 10 milliseconds to 16 milliseconds.

 

See also

 

HiResTimer_Init, HiResTimer_Get, HiResTimer_Delta

 

Examples