Language Reference Guide : 3. Statements : OpenROAD Language Statements : Sleep Statement
 
Share this page                  
Sleep Statement
This statement suspends operation of the application for a specified number of seconds.
This statement has the following syntax:
sleep integervalue;
The 4GL sleep statement stops the application for the number of seconds you specify.
Parameters--Sleep Statement
This statement has the following parameter:
integervalue
Specifies the duration of the pause in an application, in seconds. The number must be an integer literal or variable.
Example--Sleep Statement
Stop the application for 3 seconds:
sleep 3;