GetTickCount

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > Timing functions >

GetTickCount

 

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