RosettaCodeData/Task/Sleep/Plain-English/sleep.plain
2023-07-01 13:44:08 -04:00

12 lines
315 B
Text

To run:
Start up.
Demonstrate waiting.
Wait for the escape key.
Shut down.
To demonstrate waiting:
Write "How many milliseconds should I wait? " to the console without advancing.
Read some milliseconds from the console.
Write "Sleeping..." to the console.
Wait for the milliseconds.
Write "Awake!" to the console.