Version 28 of Tcl syntax help

Updated 2010-01-29 13:14:54 by LVwikignome

Purpose: Collection point for list of Tcl command reference pages (not always the full and official man page, but always with additional notes and links to related articles). Also see Tk syntax help. I hope that people will add code to these pages showing Best Practices with regard to using these Tcl and Tk commands. Beyond these, see also Official library of extensions for the syntax of extensions packaged with the core, and BNF for Tcl for abstract context. Also see Common Tcl Error Messages and Possible Explanations.


The following is an alphabetical index to the script level commands in Tcl. [Would people like a second sorting of Tcl commands, perhaps by function or some other ordering? If so, let us know what arrangement.]



There are also a number of special Magic names variables in the core Tcl interpreter. Here is an index to these:


There are also a number of special shell environment variables which can influence Tcl behavior. These include:


Also, take a look at # and comment, where Tcl comment notation is discussed.


For a nice printed quick reference guide to Tcl and Tk, see BOOK TCL/TK Pocket Reference, which also has a link to a newer community version available for download.

"Static syntax analysis" is a related topic.