summaryrefslogtreecommitdiffstats
path: root/library/demos/hello
diff options
context:
space:
mode:
Diffstat (limited to 'library/demos/hello')
-rw-r--r--library/demos/hello4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/demos/hello b/library/demos/hello
index b9823f6..d10b8d5 100644
--- a/library/demos/hello
+++ b/library/demos/hello
@@ -5,7 +5,9 @@ exec wish "$0" ${1+"$@"}
# hello --
# Simple Tk script to create a button that prints "Hello, world".
# Click on the button to terminate the program.
-#
+
+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.