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

<cTimer>.GetName

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the name associated with the instantiated cTimer variable.

 

Syntax

 

s = <cTimer>.GetName

 

Returns

 

String.

 

Parameters

 

Name

Type

Optional

Meaning





 

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("TIMER1")

...

 

'---Will return "TIMER1" string

MsgBox 0, MyTimer.GetName