Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
For 2023 - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))

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 T245
Exercises, examples and other material relating to training module T245. This topic is presented on public courses Learning to program in Tcl, Tcl Programming, Tcl Programming

[incr-Tcl] is the Object Oriented extension to Tcl which is now available Open Source like the main language. This module looks at class and object definition and use, and how Tcl implements inheritance and overloading.

Related technical and longer articles
Incr-Tcl - Object Oriented extension to Tcl
Loading incr-tcl into tclsh

Articles and tips on this subjectupdated
4460Using Object Oriented Tcl and the Tk toolkit together - real life example
There are all sorts of ways to look at the survey data we gathered last October on the TransWilts trains, and one fact I'm particularly interested in is the journey lengths of passengers. I have all the information to hand that I need to work this out - but in different files: Survey data [here] Station ...
4456Objects in Tcl - iTcl - updated first steps example
iTcl is Tcl's Object Oriented package, and it's shipped as standard with Tcl these days. On many of our OO courses, we start off with an example of "train" objects and define and run methods such as "getCapacity" on them, and today I've taken that same example and coded it in Tcl - see [here]. My ...
3142Private and Public - and things between
A public train service is one which is available for anyone to travel on; a private one only takes limited passengers as invites / made available by the operator. And there could be intermediate levels too - I understand that at times the British Transport Police protect the last train from Weymouth ...
1925Introduction to Object Oriented Programming
"Object Oriented Programming" is a whole new philosophy for programmers who have been writing short scripts for years, and it can be quite frightening to learn with all these new buzzwords like "overriding", "encapsulation" and "polymorphism" creeping in. It's a beautiful concept and a lovely approach, ...
1819Calling base class constructors
In all object oriented languages, you have a facility called inheritance where you can define one type of thing ("class of object") based on another, and the newly defined class ("subclass" or "extended class") takes the initial ("base") class as it starting point. In your code for your base class, ...
1528Object Oriented Tcl
Object Oriented Tcl ([incr-Tcl]) is darned good - but it's only a requirement in a small proportion of the Tcl Training Courses that I give. So it was with real pleasure that I spent some time yesterday writing an example in front of my class in the Nottingham area to show them just how fabulous it ...
290Object Orientation in Tcl - [incr-Tcl]
For medium sized to huge projects, an Object Oriented approach to programming can pay massive dividends at (perhaps) the initial cost of a longer design phase and class testing. Tcl is the oldest of the Open Source languages that we offer courses on, and it's a command based language that was written ...
Examples from our training material
animal.itcl   A simple class in [incr-tcl]
animal2.itcl   class that loads Itcl into basic Tclsh
bigger.itcl   [Incr-Tcl] Demonstration 2
exv   Multiple classes and inheritance demonstration
film.itcl   [incr-Tcl] - Base class and two classes that inherit from it
find.itcl   List available classes in [Incr-Tcl]
hello.itcl   [Incr-Tcl] Demonstration
inherits.itcl   Multiple inheritance and constructor calls
itlist   Using [incr-Tcl] to hold a list of objects
ootcl01   Creating and using objects
ootcl02   Creating and using objects, cget and configure
pet.itcl   itcl - second sample class
petal   Example that loads Itcl into tclsh
weekend.itcl   [incr-Tcl] - Inheritance and Polmorphism - main file
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 [here].
Topics covered in this module
Hello Object World.
The application.
The class used.
Other facilities in simple objects.
Inheritance in [incr-Tcl].
Multiple inheritance.
Other commands available in [incr-Tcl].
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,Ruby, Lua, 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.

You can Add a comment or ranking to this page

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

PAGE: http://www.wellho.net/resources/T245.html • PAGE BUILT: Sun Oct 11 14:50:09 2020 • BUILD SYSTEM: JelliaJamb