Version 0 of The Hello World program as implemented in Tcl/Tk

Updated 1999-07-09 11:20:33

Purpose: some gentle introductory examples of Tk

 #! /usr/local/bin/wish8.1
 button .hello -text "Hello, World!" -command { exit }
 pack .hello

These two lines place a clickable button on the screen, labeled "Hello, World", and the application terminates when the button is clicked.