Maptitude GISDK Help

Sleep()

Summary

Uses a timer to go into a waiting loop that yields to other processes.

 

Syntax

Sleep(integer interval)

 

Argument Contents
interval The time, in milliseconds, to remain in a waiting loop

 

Notes

Example

// Go to sleep for half a minute

Sleep(30000)

 

See Also

Function Summary
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
CreateStopwatch() Start a stopwatch to track clock time
CheckStopwatch() Determine the elapsed time since a stopwatch was started
DestroyStopwatch() Stops or cancels a stopwatch
Pause() Uses a timer to go into a waiting loop that yields to other processes, allowing Windows messages to be dispatched while waiting

 

 

©2025 Caliper Corporation www.caliper.com