TCL (or Train Control Language) is used to tell Tcc what to do. It is a scripting language rather different to 'normal' programming languages and is very suited to the sort of control that is required for a model railway. If you have experience with other languages then this may appear rather different. If you have no programming experience you are probably at an advantage!
An overview of the scripting system Tcc uses. |
|
A tutorial illustrating the use of hardware modules and tcl script. Written by Howard Watkins. |
|
A list of the action elements you can put in TCL scripts. This is a good reference for much of whats in the TCL language. |
|
High level intelligent objects can make script writing easier. |
|
You can store data (such as rolling stock parameters) in an SQL database and access it from TCL. |
|
A formal definition of TCL. Not an easy read but useful for reference. |
|
Words predefined and so unavailable for use as variable names. |
Last updated 23 March 2011
© Howard Amos 2008-2011