SLEEP

The SLEEP function suspends the execution of the current map until the time-out interval elapses. The time-out or sleep interval is represented in milliseconds. On successful execution of this function: 0 is returned; on failure: -1 is returned.

Syntax:
SLEEP(single-number-expression)
Meaning:
SLEEP (the sleep time is in milliseconds)
Returns:
A single number