RosettaCodeData/Task/Sleep/BaCon/sleep.bacon

7 lines
221 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
'---The SLEEP command takes milliseconds by default but we will adjust it
PRINT "Enter a number for each second you want to wait\nthen press Enter "
INPUT millisec
PRINT "Sleeping..."
SLEEP millisec * 1000
PRINT "Awake!"