RosettaCodeData/Task/Sleep/Tcl/sleep-1.tcl

7 lines
140 B
Tcl
Raw Permalink Normal View History

2013-04-11 01:07:29 -07:00
puts -nonewline "Enter a number of milliseconds to sleep: "
flush stdout
set millis [gets stdin]
puts Sleeping...
after $millis
puts Awake!