Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
Retiring, March 2020 - sorry, you have missed our final public course.
The Coronavirus situation has lead us to suspend public training - which was on the cards anyway, with no plans to resume

Please ask about private 'maintenance' training for Python, Tcl, Perl, PHP, Lua, etc
Happily continuing private consultancy / programming work

Tcl and Tk Training News
Next Public Course Dates
Learning to program in Tcl Mon, 20 Jul 20 5 days
Tcl Programming Tue, 21 Jul 20 4 days

Link on individual courses for more details and further dates.

We can also run a private tailored course at our centre or a private course at your office.
Tcl Programming - training course
The Tcl programming language, and Expect
Duration: 4 days • Price: £1250.00 (VAT free from January 2019), • Venue: Melksham, Wiltshire

• Tuesday 21 January 2020• Tuesday 17 March 2020
• Tuesday 19 May 2020• Tuesday 21 July 2020
• Tuesday 15 September 2020• Tuesday 17 November 2020
This course covers the fundamentals of the Tcl programming language. You'll learn about Tcl commands, quoting conventions and control structures before we move on to cover topics such as strings, lists, arrays and regular expressions.

Further topics covered on the course include writing your own commands (procs), packages, libraries, namespaces and other - you'll leave the course with a thorough grounding in Tcl.

Tcl is often used as an embedded language, and we'll show you how it's embedded within applications such as Expect, and briefly how it's used in association with Tk.

Practical experience in programming in another computer language. If you are new to computer programming, please book on our Learning to program in Tcl course instead.

Getting the most from your Well House Consultants course [Link]
Tcl is a programming language that's used in a wide variety of niche applications - ranging from Numerical Control Machines to Integrated Cirsuit design. It's also very strong as an Engineer's language in system testing, where the with the additional Expect extension provides a tool that would be hard to better.
Course Summary: [Link]
Tcl Fundamentals
What is Tcl? (module T201) Tcl, Tk and Expect. Extended Tcl applications. Commonly used Tcl scripts. Who looks after Tcl? Portability. Tcl resources.
Tcl Fundamentals (module T202) "Hello World". The running environment. Grouping. The comment command and more syntax. Variables. Reading input. The expr command.
Conditionals and Loops (module T203) The if command. The while command. The for and foreach commands. The switch command. Conditional operators.
String Handling in Tcl (module T205) Basic string handling commands. The string command. Regular expressions. The elements of a regular expression. Manipulating matched regular expressions. Putting it together.
Lists (module T206) How lists are handles in Tcl. List-related commands. Sample programs using lists.
Procedures and Variable Scope (module T207) Holding commonly used command sequences. Proc and return. Variable scope. Upvar, uplevel and global. Structured programming and OO. Packages and namespaces.
Arrays and dicts (module T208) First use of an array. Setting up an array. Referencing elements of an array. Enquiring on an array. First use of a dict. Pure and impure variables. Arrays rather than lists or dicts. A wider range of array commands. Array get and set. Selecting elements from an array. Uses of arrays. Using numeric indexes. Passing arrays to procs. Unique keys.
File and Directory Handling (module T209) Opening, reading and writing files. File testing and glob. Directory and file maniplulation.
Intermediate Tcl programming
What is Expect? Why use it? (module T211) What is expect? Why use it? Sample problems. spawn, expect & send. Patterns and action. Special expect variables.
Expect Processes (module T212) Multiple processes, multiple simultaneous processes. Interact with multiple processes. Background processing. Issues of synchronising and polling multiple processes.
More on Expect (module T242) Expecting from the user. More facilities. Signals. Slow and human. Command-line options. Interact.
Libraries, Packages and Namespaces (module T213) Startup files. Libraries and packages. Locating and loading packages. Using variables across procs and packages. Namespaces. Exporting and importing.
Other Facilities in Tcl (module T214) Information commands. Error and Catch. File handling. Variable control. Special variables.
Introduction to Tk (module T216) "Hello World" in Tk. A real application. A GUI frontend to a data file.
First Widgets, Geometry and Events (module T217) The button widget - easy uses. The Pack Geometry manager. Frames. Button presses and other events.
Geometry Managers (module T218) The Pack geometry manager. The Grid Geometry manager. Controlling widget placement with place.
Drawing on Canvases (module T219) Canvas basics; coordinate system, colour, etc. Canvas objects. Rect, text, line, etc. Attributes of canvas objects. The display list, tagging and manipulating objects. Tips and techniques for graphics programming.
Frames and Other Topics (module T220) Nesting frames. Top-level widgets. Labels and messages. Scales.
Events in Tk (module T224) The event model. Binding tags and events. Event types and names. Event keywords. Virtual events. Event sequences. Update idletasks.
Applications and some advanced features
Using Tcl from C (module T243) Embedding a TCL interpreter in a C program. Adding commands written in C to your Tcl.
Socket Programming (module T244) Clients and servers. Overview. Reaching the right service. Naming services. Protocols. Client programming in Tcl. A simple client. Considerations for client programming. A simple server.
[incr-Tcl] (module T245) What is [incr-Tcl]? Where do I get [incr-Tcl]? "Hello Object World". Constructors, methods, and objects. Variable declarations. Configure and cget methods on objects. Inheritance, overloading and polymorphism. Local, ensemble, find, delete and others.
Advanced Regular Expressions (module T247) Where are regular expressions used? Anchors, literals, counts and literal groups. Advanced assertions \m \y \z and friends. Posix standard literal groups. Space and greedy counts, {} counts. Grouping and grouping options. Back references. Substitute and execute using subst. Example - analysing a URL string on a Web server.

Graham Ellis - graham@wellho.net [email]  [about Graham]
Melksham, Wiltshire
Public courses run at Well House Manor - our own purpose fitted training centre and business hotel / conference centre in Melksham.
• Download Melksham Map - [pdf file (750k)] • Google Map - [Link]
1 student   2 students   3 students   For 4 or more students
from the same company,
please consider a private course.
 With hotel room
£1530.00 (No VAT from 1.2019)
Without room
£1250.00 (No VAT from 1.2019) 
 With hotel rooms
£3010.00 (No VAT from 1.2019)
Without rooms
£2450.00 (No VAT from 1.2019) 
 With hotel rooms
£4490.00 (No VAT from 1.2019)
Without rooms
£3650.00 (No VAT from 1.2019) 
• Multiple discount applies to bookings for second and subsequent delegates on the same running of a course, and on same order.
• Hotel rooms are available for arrival the night before the course starts, for departure after the end of the course on the last day.
If you'll be using Tcl in association with the Tk graphic widget set, you'll want to stay on for the Tcl/Tk course, which runs the following two days.

Upon completion of your course, you'll have online access to the source code of all the examples from the course, and you'll have access to the "Ask the Tutor" forum where you can raise questions. We also encourage you to email the tutor, and to visit us again to use our library as appropriate.

Certification? - [Link]
Public (scheduled) courses -- http://www.wellho.net/course/ctc.html
For more information about our public courses in general, such as class size, course times, materials provided, special requests, accommodation list, finding our centre, etc.
Terms and Conditions -- http://www.wellho.net/net/terms.html
Covering topics such as delegate substitution, payment, cancellation policy and other matters.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2020: 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/course/tpfull.html • PAGE BUILT: Fri Jan 3 07:30:06 2020 • BUILD SYSTEM: WomanWithCat