Jump to content

Tcl Programming

100% developed
From Wikibooks, open books for an open world
Tcl logo
Tcl logo

Tcl (Tool Command Language) is a dynamic programming/scripting language based on concepts of Lisp, C, and Unix shells. It can be used interactively, or by running scripts (programs) which can use a package system for structuring, hence allowing to do much with little code. Tcl is available for Linux, Windows, Mac OS X, as well as other platforms, as open-source software under BSD-like license, or as pre-built binaries.

This book also discusses the GUI toolkit Tk in considerable extent, even though it's not in the title. For most users, Tcl/Tk form a single conceptual entity.

Chapters

Tcl: The Tool Command Language
Commands and functions
expr: The arithmetic & logic unit
Tcl in internationalization
Regular expressions
Interaction and debugging
Working with files
Tcl examples
Tk: The cross-platform GUI toolkit
Tcl/Tk examples
TCL and ADP
Appendix