<< now | Time functions | tic >> |
sleep(sec) |
a double: duration of the sleep in seconds (decimal number).
sleep stops Nelson processing any instruction for a speficied number of seconds.
CTRL-C interruption stops sleep.
tic();sleep(1);toc()
tic();sleep(0.1);toc()
tic();sleep(0.01);toc()
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET