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;

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?