About This Book

When Jeff Tranter first started with Tcl sometime around 1992, he felt the need for a simple language quick-reference card to help jog his memory when programming. He created a simple one-page cheat sheet that listed all of the Tcl language commands. In the spirit of freely sharing with other users, he uploaded his quick reference to one of the Tcl archive sites.

Some time later, Paul Raines created a nice quick reference for the commands provided by the Tk toolkit. Again, initially this was one double-sized page in length.

Inspired by the excellent Perl 5 Pocket Reference by Johan Vromans (published by O’Reilly & Associates), Paul combined the Tcl and Tk references into a small booklet of about 40 half-size pages, and made it freely available on the Internet. The current version is now over 80 pages in length and can also be purchased from O’Reilly as the Tcl/Tk Pocket Reference.

After finishing O’Reilly’s first book on Tcl/Tk, Tcl/Tk Tools (by Mark Harrison et al.), O’Reilly editor Andy Oram thought about doing a Tcl reference book. So he approached us about expanding our work into a full-blown reference on Tcl, Tk, and all of the popular language extensions. Thus, the one-page Tcl cheat sheet that Jeff created for his own use has now grown into a 450-page book. We hope that you are happy with the result and find it a useful reference.

Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.