home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of Windows 95.com 1996 December
/
WIN95_DEC_1996_1.ISO
/
vrml
/
cp2b2x.exe
/
DATA.Z
/
hello
< prev
next >
Wrap
Text File
|
1996-04-23
|
484b
|
19 lines
#!/bin/sh
# the next line restarts using wish \
exec wish "$0" "$@"
# hello --
# Simple Tk script to create a button that prints "Hello, world".
# Click on the button to terminate the program.
#
# @(#) hello 1.5 95/09/07 11:13:16
#
# 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.
button .hello -text "Hello, world" -command {
puts stdout "Hello, world"; destroy .
}
pack .hello