<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > BuiltIn Functions > Date and Time > cTimer > cTimer Methods > <cTimer>.GetDescription |
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