Navigation Logo Basic Syntax and I/O Navigation Logo

 

 

This chapter covers much of Tcl's basic syntax as it applies to command lines -- expressions are described in the next chapter.

Basic file I/O and the while loop are also introduced here.

2.1 The Form of a Tcl Script
2.2 Variables in Tcl
2.3 Copying a File Line by Line
2.4 While Loop
2.5 Curly Brackets
2.6 Double Quotes
2.7 Command Substitution
2.8 Opening Files
2.9 Completed File Copying Example
2.10 More about Substitution
2.11 Solutions to Exercises
 

 

[Sample TK Application]
Author's Home Page
Navigation Logo [Book's Cover]
Order from Amazon.