Exercises, examples and other material relating to training module T202. This topic is presented on public courses
Learning to program in Tcl,
Tcl Basics
Tcl Programming - The Tcl programming language, and Expect
This course covers the fundamentals of the Tcl
programming language. You'll learn about Tcl ... http://www.wellho.net/course/tbfull.html [course] |
Learning to Program in Tcl - The Tcl programming language, and Expect
This course covers the fundamentals of the Tcl
programming language. You'll learn ... http://www.wellho.net/course/tlfull.html [course] |
Tcl is much used in the semiconductor industry, so there's a common requirement to use it to convert values back and forth between hexadecimal (base 16) ... http://www.wellho.net/mouth/782_Conv ... n-Tcl.html [short article] |
It's always a good idea to comment your programs. OK - I know you know that, but I find it's always a good idea to remind people too!
In Tcl, you add ... http://www.wellho.net/mouth/349_Comm ... n-Tcl.html [short article] |
From Monday to Wednesday, I was teaching Python to a group of delegates at a company where I have previously taught Tcl and Expect and Perl. And this ... http://www.wellho.net/mouth/2442_Var ... pared.html [short article] |
With all programming languages, there seem to be a few things that you end up saying "I'm SURE there's a way to do that" .... yet you can't find out how. ... http://www.wellho.net/mouth/210_Join ... -Tcl-.html [short article] |
When you go to board a plane at Heathrow, do the ground staff admit the passengers one at a time, ensuring that each is seated before the next boards, ... http://www.wellho.net/mouth/1136_Buf ... d-PHP.html [short article] |
Starting with a first program ("Hello World" in Tcl), we move on to cover command syntax and grouping with quotes, brackets and braces. Amongst the most important commands covered at this early stage are those that let you read from the keyboard, write to the screen and create, display and perform basic operations on variables.
This topic is presented on public courses
Learning to program in Tcl,
Tcl Basics
Examples from our training material
| anno | A trivial Tcl program with comments |
| anno2 | Comments - inline and continuations |
| gr2 | Double quote substitution in Tcl |
| greet | Reading from the user in Tcl |
| gry | Variables in Tcl - first use |
| hddh | Hexadecimal to decimal, and decimal to hex, in Tcl |
| pricer | Completed simple application in Tcl - pricing tickets |
Pictures
Tcl trainees come from far and wide
Square brackets and braces in Tcl
Background information
Some modules are
available for download as a sample of our material or under an
Open Training Notes License for free download from
http://www.training-notes.co.uk.
Topics covered in this module
"Hello World".
The running environment.
Grouping.
The comment command and more syntax.
Variables.
Reading input.
The expr command.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our
Listing and schedule page.
Well House Consultants specialise in training courses in
Tcl/Tk, Expect,
Python,
Perl,
PHP, and
MySQL. We run
Private Courses throughout the UK (and beyond for longer courses), and
Public Courses at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if
you live in a different
country or continent to us.
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre. Also
available is the Opentalk
Forum for discussion of technical questions.