int :sleep ( float $SECS )
int :sleep ( int $MS )
int :sleep
Makes the interpreter issue a sleep call to the OS, temporarily halting script execution.
Note that the value passed is minimum sleep time; due to OS scheduling and clock granularity, the actual sleep time may turn out to be longer. Returned value is the amount of milliseconds passed from function start to function end - actual sleep time.
# Sleep for a total of three seconds. :writeln s"I'm gonna take a short break." :sleep f1.0 :sleep i1000 :sleep :writeln s'Okay, three seconds should be enough.'
wikipage modified on 2014/0601/2317