|
Sleep
int
Sleep (int
sec)
Return
Value
Returns
OK if success. Otherwise returns FAIL.
Parameters
sec
–specifies the time, in seconds, for which
to suspend execution.
Remarks
Call this
function to suspend execution for specified number of
seconds.
Example
The following
example demonstrates the use of Sleep.
# Example for Sleep
Println("Sleeping
for 1 second")
Sleep(1)
Output of the example script:
Sleeping for 1 second
|