Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
|
|
@ -1,9 +1,9 @@
|
|||
^|The pause command takes milliseconds, we adjust to seconds|^
|
||||
fun main = int by List args
|
||||
fun main ← int by List args
|
||||
int seconds
|
||||
if args.length == 1 do seconds = int!args[0] end
|
||||
if seconds == 0
|
||||
seconds = ask(int, "Enter number of seconds to sleep: ")
|
||||
if args.length æ 1 do seconds ← int!args[0] end
|
||||
if seconds æ 0
|
||||
seconds ← ask(int, "Enter number of seconds to sleep: ")
|
||||
end
|
||||
writeLine("Sleeping...")
|
||||
pause(1000 * seconds)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue