Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
Python, Lua and Tcl - public course schedule [here]
Private courses on your site - see [here]
Please ask about maintenance training for Perl, PHP, Java, C, C++, Ruby, MySQL and Linux / Tomcat systems

Tcl and Tk Training News
Next Public Course Dates
Learning to program in Tcl Mon, 11 Feb 19 5 days
Tcl Programming Tue, 12 Feb 19 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.
Learning to Program in Tcl - training course
The Tcl programming language, and Expect
Duration: 5 days • Price: £1900.00 +VAT (with hotel room), or £1550.00 +VAT (without room), • Venue: Melksham, Wiltshire

• Monday 3 December 2018• Monday 11 February 2019
• Monday 8 April 2019• Monday 10 June 2019
• Monday 5 August 2019• Monday 14 October 2019
• Monday 2 December 2019
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.

This course is for delagate without prior programming experience.

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]
Learning to Progam (module Q100) What is programing? Why are there so many langauges? Which language for what purpose? How to plan your progamming project. Making best use of existing resources.
Programming Principles (module Q101) Stored programs - running from file. Sequential operation. Very fast, but an IQ of zero. Variable and variable types. Conditions and conditional code. Loops and named blocks of code. Collections. Libraries. Pointers and references. Compilers and Interpretters. Program and system design.
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
(£2280.00 inc VAT)
Without room
(£1860.00 inc VAT) 
 With hotel rooms
(£4500.00 inc VAT)
Without rooms
(£3660.00 inc VAT) 
 With hotel rooms
(£6720.00 inc VAT)
Without rooms
(£5460.00 inc VAT) 
• 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., 2018: 404 The Spa • Melksham, Wiltshire • United Kingdom • SN12 6QL
PH: 01225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/course/tlfull.html • PAGE BUILT: Wed Nov 21 09:58:28 2018 • BUILD SYSTEM: WomanWithCat