| Maptitude GISDK Help |
Stops or cancels a stopwatch.
DestroyStopwatch(string stopwatch_name)
| Argument | Contents |
|---|---|
| stopwatch_name | The name of the stopwatch |
Destroy a stopwatch when its no longer in use to free up system resources.
CreateStopwatch("test my macro")
RunMacro("my macro")
time = CheckStopwatch("test my macro")
ShowMessage("The macro took " + String(time) + " seconds.")
DestroyStopwatch("test my macro")
| Function | Summary |
|---|---|
| CreateStopwatch() | Start a stopwatch to track clock time |
| CheckStopwatch() | Determine the elapsed time since a stopwatch was started |
| CreateTimer() | Sets up a timer that executes a macro at fixed-time intervals |
| DestroyTimer() | Cancels a timer that executes a macro at fixed-time intervals |
| Pause() | Uses a timer to go into a waiting loop that yields to other processes, allowing Windows messages to be dispatched while waiting |
| Sleep() | Uses a timer to go into a busy waiting loop that yields to other processes |
| ©2025 Caliper Corporation | www.caliper.com |