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