RosettaCodeData/Task/Sleep/Plain-English/sleep.plain

13 lines
315 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
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.