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