This is an old revision of the document!
sleep
Pause script for a short duration
Description
sleep( milliseconds )
Pause the script for milliseconds
.
USE WITH CAUTION
This command will prevent events to be executed and may cause unwanted delays in other logic.
Parameters
milliseconds | The duration for which to pause the script |
Return value
This command does not return a value.
Example usage
SetOutput(1, 100); sleep(100); // Allow output to be ON for 100 ms SetOutput(1, 0);