Skip to main content


The sleep statement pauses script execution for a specified time.


Sleep n


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;

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!