Maptitude GISDK Help |
Determines the elapsed time since a stopwatch started.
elapsed_time = CheckStopwatch(string stopwatch_name)
Argument |
Contents |
stopwatch_name |
Name of the stopwatch |
A real number indicating the time in seconds since the stopwatch was created.
CreateStopwatch("test my macro")
RunMacro("my macro")
time = CheckStopwatch("test my macro")
ShowMessage("The macro took " + String(time) + " seconds.")
DestroyStopwatch("test my macro")
Error Type |
Meaning |
NotFound |
The specified stopwatch does not exist |
Function |
Summary |
Start a stopwatch to track clock time |
|
Stops or cancels a stopwatch |
|
Sets up a timer that executes a macro at fixed-time intervals |
|
Cancels a timer that executes a macro-at fixed-time intervals |
|
Uses a timer to go into a waiting loop that yields to other processes, allowing Windows messages to be dispatched while waiting |
|
Uses a timer to go into a busy waiting loop that yields to other processes |
©2025 Caliper Corporation | www.caliper.com |