Tcl Programming

Tcl is Tool Command Language. It is pronounced as Tickle, not T-C-L. Tcl has been historically used for network programming and testing.

Some Facts about Tcl

  • Tcl is a loosely typed interpreted language.
  • It is easy to learn and develop small programs using Tcl, especially tools.
  • Tcl, unlike other similar scripting languages, is endowed with the simplest and the cleanest grammar.
  • Tcl is widely used in testing.
  • Tcl commands are implemented using set of C procedures
  • Tcl is more friendlier and less powerful than Perl. Perl being more popular of the two is being supported by a larger development community. Tcl is the undisputed leader when it comes to testing area. Tcl extensions – Expect, and Tk go beyond Tcl. They are used in conjunction with other languages.

    The tutorial presented here is an overview of Tcl. When you complete this module, you will be able to:

    -Download and install Tcl and its extensions

    -Write Tcl scripts using basic Tcl commands and Tcl extensions

    The contents of this tutorial covers

    Introduction to Tcl

    Basic Tcl Syntax and commands

    Advanced Tcl

  • Tcl Event Loop
  • Tcl Socket Commands

    Pre-requisite:

    Prior knowledge of any other programming language.

    Go to Tcl-page 2