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

<cTimer>.GetDescription

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the description associated with the instantiated cTimer variable.

 

Syntax

 

s = <cTimer>.GetDescription

 

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

...

'---Assign a description

MyTimer.SetDescription("This timer will measure something ...")

...

 

'---Will return "This timer will measure something ..." string

MsgBox 0, MyTimer.GetDescription