- Why can I not place unmatched braces in Tcl comments?
- Tcl and octal numbers
- Why is keyboard entry in Tcl so crude?
- Is white space significant in Tcl?
- Are there any recommendations or requirements regarding what order code appears in a Tcl program?
- What are some general programming recommendations independent of Tcl?
- Is tclsh or wish suitable as a login shell?
- There is a Tcl Style Guide. It's a good idea to follow it from the beginning (where it makes sense to do so).
- What some command arguments expect. After having gained some coding experience, also consult Quoting hell.
Taboo filenames: Someone wrote in the comp.lang.tcl newsgroup:
I am calling the file button.tcl ...Donald Porter replied: Don't do that.Don't give your wish scripts the same name as any of the widgets provided by Tk. It will cause problems with wish trying to apply options for those widgets to your program as a whole. Try the file name example.tcl.Jeffrey Hobbs explained: It is not OK to name any primary Tcl file (the one that is launched by wish) after one of the widget classes, due to the way that the X resource option db stuff works. It will make the primary application of class Button in this case, and then things will be goofy after that ...Are there potential problems if the file was named after Tcl files such as auto.tcl, init.tcl, package.tcl, etc. ?Bryan Oakley: no. The issue has to do with widget class names rather than file names. If your application file is the same name as a widget class madness will ensue.
Important advice, heard from RS: "Tcl is so good in introspection, that you should always have an interactive tclsh around for testing - way faster than c.l.t, and more convenient than reading the man pages, or thinking oneself ;-)"
Crucial information appears in "Effective ways to request help with Tcl-related problems".
Beginning Tcl - Arts and crafts of Tcl-Tk programming | category tutorial
