sleep, sleep countdown
The program will sleep for a specified number of seconds. The granularity is 0.001, i.e. milliseconds. The ... countdown suffix will output the remaining time to sleep once per second.
Indirect parameter passing is disabled
1
No. | Type | Description |
---|---|---|
1 input |
numeral | Time Time in seconds. Granularity is in ms, e.g. sleep(0.03) sleeps for 30 milliseconds. |
2 input |
string | Prompt Prompts a message that sleeping is in progress |
sleep countdown (3, "Waiting ";
Software will display a down-counting number on the same row