Sleep
The sleep statement pauses script execution for a specified time.
Syntax:
Sleep n
Arguments:
Argument | Description |
---|---|
n | Stated in milliseconds, where n is a positive integer no larger than 3600000 (i.e. 1 hour). The value may be an expression. |
Example 1:
Sleep 10000;
Example 2:
Sleep t*1000;