The complete table of contents is online but only seven chapters have been posted. Section titles in italics indicate sections that summarize information available elsewhere or demonstrate programming techniques. No new facts about Tcl/Tk are introduced in italicized sections.
4.1 Procedures 4.2 Global and Local Variables 4.3 Passing Arguments by Reference 4.4 Default Values for Parameters 4.5 Reimplementing Procedures 4.6 Regional Variables 4.7 Action Families 4.8 An Example Action Family 4.9 Implementing Action Families in Earlier Versions of Tcl 4.10 Error Handling 4.11 Procedures Defining Procedures 4.12 Solutions to Exercises
5.1 Associative Arrays and the Concept of Function 5.2 Using Arrays for Missing Features 5.3 Procedures for Working with Arrays 5.4 The scan and format Procedures 5.5 Lists 5.6 An Action Family for Working with Lists 5.7 Lists Support Flexible Argument Usage 5.8 Switches and Options 5.9 Iteration 5.10 Indexing Web Sites 5.11 Solutions to Exercises
6.1 The string Action Family 6.2 The file Action Family 6.3 The info Action Family 6.4 Glob Patterns 6.5 Commands Accepting Glob Patterns 6.6 Developing for Multiple Platforms 6.7 A Virtual Machine 6.8 Solutions to Exercises
8.1 Starting Processes and Pipes 8.2 More about I/O 8.3 More about Variables 8.4 The clock Action Family 8.5 Building Command Lines 8.6 Object Action Families 8.7 Executing Scripts from within Scripts 8.8 Interpreter Hierarchies 8.9 Delaying Execution 8.10 Performance Testing 8.11 The Current Directory 8.12 Binary Data 8.13 Solutions to Exercises
9.1 Packages and Automatically Sourcing Procedures 9.2 Loading Procedures in Binary Form 9.3 On Control Structures 9.4 Example Control Structure 9.5 Solutions to Exercises
10.1 TCP/IP Networks as Seen from Tcl 10.2 The World Wide Web as a Client/Server Application 10.3 Creating a Web Client in Tcl 10.4 The Event Loop 10.5 Timeouts 10.6 Background Error Handling 10.7 Client/Server the Tcl Way 10.8 More about the Event Loop 10.9 The http Package 10.10 A Brief HTML Introduction 10.11 Solutions to Exercises
18.1 A Multiline Entry Widget and More 18.2 Marks and Indexing 18.3 Text Tags 18.4 Tag Subactions 18.5 Tag Options 18.6 Embedded Widgets 18.7 Solutions to Exercises
19.1 Introduction, Subwindows, and Scrolling 19.2 Anchoring and Discrete Scrolling 19.3 A Script for Examining Canvas Items 19.4 The Oval is a Typical Item 19.5 Canvas Tags 19.6 A Tour of Canvas Items 19.7 Changing Option Values 19.8 Moving Items 19.9 Identifying an Item or Tagged Set under the Mouse 19.10 Canvas-Object Actions 19.11 PostScript 19.12 Implementing the Item Examining Script 19.13 Solutions to Exercises
20.1 The winfo Action Family 20.2 The wm Action Family 20.3 Cutting and Pasting 20.4 Asserting Primacy among Windows 20.5 A New Command Window 20.6 Solutions to Exercises
22.1 Data Types in Transition 22.2 C Procedures that Run as Tcl/Tk Commands 22.3 Naming Conventions 22.4 Registering Commands 22.5 Extending Tcl with the Recompile/Relink Method 22.6 Extending Tcl with the Load Method 22.7 Creating Math Functions 22.8 Tk 22.9 Solutions to Exercises
23.1 Allocating Memory 23.2 Manipulating Objects of Type Tcl_Obj 23.3 More about Command Execution 23.4 Accessing Tcl Variables 23.5 List Processing 23.6 Solutions to Exercises
25.1 Object Orientation in C 25.2 Object Orientation in Tcl 25.3 Implementing Object Actions 25.4 Implementing Class Actions 25.5 Commands that Work with Multiple Objects 25.6 Solutions to Exercises