12 lines
315 B
Text
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.
|