Introduction to tcl/tk

by Christopher Trudeau


Overview

This document was originally created to give students taking the Software Engineering option an overview of tcl/tk. The basics behind using tclsh and wish are both covered, with some information about integrating with a C program. Most of the material has been based on the author's experience with the language, which of course owes greatly to the master himself John K. Ousterhout (see the references).

Comments and criticism on this series of documents is greatly appreciated. Feel free to send me a note. This material is copyright but non-commercial institutes have permission to reproduce the document in its entirety, all other uses require explicit written permission of the author.


Topics

Very basic introduction to script languages
tcl
tk
Integration with C
Examples

References

Online:
Sun's tcl/tk page
Online "man" pages for various versions
David Martland's Introduction to tcl/tk
Offline:
Ousterhout, John K., "Tcl and the Tk Toolkit", Addison-Wesley, 1994
Last update: June 11/97 - CT