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