Navigation:  ThinBASIC Modules > Core (thinBasic Core Engine) > Core Module Classes > cTimer Class > cTimer Methods >

<cTimer>.Start

Previous pageReturn to chapter overviewNext page

 

Description

 

Start the timer.

 

Syntax

 

n = <cTimer>.Start[(Description)]

 

Returns

 

Number.

Quad number representing starting CPU cycles

 

Parameters

 

Name

Type

Optional

Meaning

Description

String

Yes

Optionally change the description associated with instantiated cTimer variable

 

Remarks

 

Restrictions

 

See also

 

Examples

 

'---Create a class variable

Dim MyTimer  As cTimer

 

'---Instantiate the class variable. This will automatically call internal Constructor

MyTimer = New cTimer

 

MyTimer.Start("Hi there, I just started")