summaryrefslogtreecommitdiffstats
path: root/library/demos/hello
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/hello
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/hello')
-rw-r--r--library/demos/hello6
1 files changed, 4 insertions, 2 deletions
diff --git a/library/demos/hello b/library/demos/hello
index ac5cdff..6461f46 100644
--- a/library/demos/hello
+++ b/library/demos/hello
@@ -6,8 +6,10 @@ exec wish "$0" "$@"
# Simple Tk script to create a button that prints "Hello, world".
# Click on the button to terminate the program.
#
-# RCS: @(#) $Id: hello,v 1.3 2001/10/29 16:42:20 dkf Exp $
-#
+# RCS: @(#) $Id: hello,v 1.4 2003/09/30 14:54:30 dkf Exp $
+
+package require Tk
+
# The first line below creates the button, and the second line
# asks the packer to shrink-wrap the application's main window
# around the button.