For those who prefer to learn on their own, Noumena recommends TclTutor and Tcl/Tk: A Developer's Guide.
The format of a TclTutor lesson is a short textual description of a command or concept and an interactive example. The lesson text is available in 3 levels of verbosity, "Expert", "Computer User", and "Beginner". The differing levels of verbosity provide a beginner with more information about computer terminology and general programming techniques, while allowing an experienced programmer to get just the minimal information that they need to start using a command. The expert level can be used as a reference tool after you've started using Tcl/Tk regularly.
The examples can be edited and re-run to experiment with how the command behaves.
TclTutor has been around for over a decade now. It's mostly stable. To make up for that I rework the GUI every few years. This code has been tested on BSD/OS, Linux, MS-Windows, and Macintosh. If it provides you with a surprise, please let me know.
TclTutor is now provided as a StarPack. This means you don't need to have Tcl/Tk installed on your computer to run the tutorial, and installation is much simpler.
This version of TclTutor has a completely rewritten engine.
New features/bug fixes include
To install TclTutor follow the instructions appropriate to your platform:
To install this version of TclTutor:
To install this version of TclTutor:
gunzip tcltutor30b7.gz
You can run TclTutor as a Tclkit package if you have Tclkit installed on your system. Tclkit is a single-executable version of the Tcl/Wish installation. You can find many Tclkits at Jean Claude Wippler's site
Put the .kit file and hte Tclkit you downloaded someplace safe.
Run TclTutor as some variant of tclkit tcltutor30b7.kit
If all else fails, you can download the sources and run with your
installed wish
application.
This file can be extracted with gunzip and tar.
Tar will create a TclTutor
directory for the program and
lesson files. TclTutor.tcl can be executed from that directory.
gunzip -c tcltutor30b7.tgz | tar -xvf -
TclTutor.tcl
into
is in your search path, you can run
TclTutor by typing TclTutor.tcl
at your shell prompt.
If the installation directory is not in your search path, you'll need to
change to the installation directory to run TclTutor.tcl
.
If all else fails, you can run TclTutor by changing to the TclTutor
directory and running wish TclTutor.tcl
.