Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact

New telephone system - working a day early.
01225 708225 (phone) and 01225 899360 (fax) again ;-)
Upcoming Tcl, Expect, Tk courses ...
Learning to program in Tcl and Expect
Tcl and Expect programming
The Tk Toolkit

Related technical and longer articles
Brackets and Braces in Tcl
Tips and short articles on this subject
Variable storage - Perl, Tcl and Python compared
Curley brackets v double quotes - Tcl, Tk, Expect
Buffering up in Tcl - the empty coke can comparison
Stringing together Tcl scripts
Buffering output - why it is done and issues raised in Tcl, Perl, Python and PHP
Converting between Hex and Decimal in Tcl
The ireallyreallywanna operator
Comments in Tcl
Making programs easy for any user to start
Joining lists in Tcl. Indirect variables in Tcl.
Looking for a donkey
Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
Tcl/Tk module T202
Tcl Fundamentals
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.


You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2010: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 0800 043 8225 or 01225 708225 • FAX: 01225 899360 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho