Declarations

Every TCL script begins with some declarations (otherwise there is nothing that the script can manipulate).

The declarations part of a TCL script can include any of the following sections, in any order:

sensors
How inputs are wired, and what the input lines are called.

controls
How outputs are wired, and what the output lines are called.

variables
What variables are used within the script.

smartcabs
Any computer controlled throttles are declared here.

qkeys
Buttons in the qKeys window that can control the script.

constants
Gives names to commonly used values such as defining that 'normal' might take the value 0, and 'reverse' the value 1.

qtuconfigs
Which configuration file is used by each QTU.

Back to scripting page.