Pause()

Summary

Uses a timer to go into a waiting loop that yields to other processes, allowing Windows messages to be dispatched while waiting.

Syntax

Pause(integer interval)

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

Notes

  • Pause() can be used to prevent Maptitude from getting ahead of other processes, such as printing a whole series of maps. It allows Maptitude to process and respond to Windows messages, such as a redraw request. The Task Manager would not declare Maptitude as "not responding."

Example

// Pause for half a minute
Pause(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
Sleep() Uses a timer to go into a waiting loop that yields to other processes