summaryrefslogtreecommitdiffstats
path: root/library/demos/timer
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2003-09-30 14:54:29 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2003-09-30 14:54:29 (GMT)
commit89cb52358e92bd6496cf8068147b904a689dd870 (patch)
treee0a362b7a1e36df8ae583f336d3235ec1b5e6688 /library/demos/timer
parentaba06731f7bcc8bfdbee568d70e1fd8611f6dce4 (diff)
downloadtk-89cb52358e92bd6496cf8068147b904a689dd870.zip
tk-89cb52358e92bd6496cf8068147b904a689dd870.tar.gz
tk-89cb52358e92bd6496cf8068147b904a689dd870.tar.bz2
Added [package require] to demos. [FRQ 815118]
Diffstat (limited to 'library/demos/timer')
-rw-r--r--library/demos/timer5
1 files changed, 4 insertions, 1 deletions
diff --git a/library/demos/timer b/library/demos/timer
index 5255403..99e6f4c 100644
--- a/library/demos/timer
+++ b/library/demos/timer
@@ -5,7 +5,10 @@ exec wish "$0" "$@"
# timer --
# This script generates a counter with start and stop buttons.
#
-# RCS: @(#) $Id: timer,v 1.3 2001/10/29 16:23:33 dkf Exp $
+# RCS: @(#) $Id: timer,v 1.4 2003/09/30 14:54:30 dkf Exp $
+
+package require Tcl 8.4
+package require Tk
label .counter -text 0.00 -relief raised -width 10 -padx 2m -pady 1m
button .start -text Start -command {