Skip to content

Practical Programming in TCL and TK

Spend $50 to get a free DVD!

ISBN-10: 0130385603

ISBN-13: 9780130385604

Edition: 4th 2003 (Revised)

Authors: Brent B. Welch, Jeffrey Hobbs, Ken Jones

List price: $69.99
Shipping box This item qualifies for FREE shipping.
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!


Practical Programming in Tcl/Tk is described as the "bible" for Tcl programmers. It is a guide to the Tcl/Tk programming language and GUI toolkit. This revision includes substantial updates to cover the new version 8.4-giving both an overview of the features, as well as details about every command in the language. The third edition, written on version 8.2, sold over 30,000 copies. Version 8.4 of Tcl - Tool Command Language-provides substantial updates to one of the most popular UNIX scripting languages. The latest release, includes the addition of a virtual filesystem (VFS), many additional programming widgets (spinbox, panedwindow, labelframe),and improved performance of about 20% over…    
Customers also bought

Book details

List price: $69.99
Edition: 4th
Copyright year: 2003
Publisher: Prentice Hall PTR
Publication date: 6/10/2003
Binding: Paperback
Pages: 960
Size: 6.75" wide x 9.25" long x 1.50" tall
Weight: 3.256
Language: English

Bruce J. AvolioMarion B. Ingersoll Professor, Executive Director, Center for Leadership and Strategic ThinkingMichael G. Foster School of Business, University of WashingtonDr. Avolio has an international reputation as a researcher and practitioner in leadership. He has consulted with public and private organizations in North and South America, Africa, Europe, and Southeast Asia, as well as in Australia, New Zealand, Saudi Arabia and Israel. His research and consulting includes work with the militaries of the United States of America, Singapore, Sweden, Finland, Israel, and South Africa.Dr. Avolio is a fellow of the Academy of Management, American Psychological Society, American…    

List of Examples
List of Tables
Tcl Fundamentals
Tcl Commands
Hello, World! Variables
Command Substitution
Math Expressions
Backslash Substitution
Grouping with Braces and Double Quotes
A Factorial Example
More about Variables
More about Math Expressions
Substitution and Grouping Summary
Fine Points
Getting Started
The source Command
UNIX Tcl Scripts
Windows Start Menu
Macintosh OS 8/9 and ResEdit
The console Command
Command-Line Arguments
Predefined Variables
The Guestbook CGI Application
A Quick Introduction to HTML
CGI for Dynamic Pages
The guestbook.cgi Script
Defining Forms and Processing Form Data
Handling Errors in CGI Scripts
Next Steps
String Processing in Tcl
The string Command
The append Command
The format Command
The scan Command
The binary Command
Related Chapters
Tcl Lists
Tcl Lists
Constructing Lists
Getting List Elements: llength, lindex, and lrange
Modifying Lists: linsert and lreplace
Searching Lists: lsearch
Sorting Lists: lsort
The split Command
The join Command
Related Chapters
Control Structure Commands
If Then Else
Break and Continue
Procedures and Scope
The proc Command
Changing Command Names with rename
The global Command
Call by Name Using upvar
Variable Aliases with upvar
Tcl Arrays
Array Syntax
The array Command
Building Data Structures with Arrays
Working with Files and Programs
Running Programs with exec
The file Command
Cross-Platform File Naming
Manipulating Files and Directories
File Attributes
Input/Output Command Summary
Opening Files for I/O
Reading and Writing
The Current Directory cd and pwd
Matching File Names with glob
The exit and pid Commands
Environment Variables
The registry Command
Advanced Tcl
Quoting Issues and Eval
Constructing Code with the list Command
Exploiting the concat inside eval
The uplevel Command
The subst Command
Regular Expressions
When to Use Regular Expressions
Regular Expression Syntax
Advanced Regular Expressions
Syntax Summary
The regexp Command
The regsub Command
Transforming Data to Program with regsub
Other Commands That Use Regular Expressions
Script Libraries and Packages
Locating Packages: The auto_path Variable
Using Packages
Summary of Package Loading
The package Command
Libraries Based on the tclIndex File
The unknown Command
Interactive Conveniences
Tcl Shell Library Environment
Coding Style
Reflection and Debugging
The clock Command
The info Command
Cross-Platform Support
Tracing Variables and Commands
Interactive Command History
Tcl Dev Kit
Other Tools
Performance Tuning
Using Namespaces
Namespace Variables
Command Lookup
Nested Namespaces
Importing and Exporting Procedures
Callbacks and Namespaces
The namespace Command
Converting Existing Packages to use Namespaces
[incr Tcl] Object System
xotcl Object System
Character Sets and Encodings
Message Catalogs
Event-Driven Programming
The Tcl Event Loop
The after Command
The fileevent Command
The vwait Command
The fconfigure Command
Socket Programming
Networking Extensions for Tcl
Client Sockets
Server Sockets
The Echo Service
Fetching a URL with HTTP
The http Package
Basic Authentication
TclHttpd Web Server