Practical Programming in Tcl and Tk by Brent Welch, Ken Jones

By Brent Welch, Ken Jones

The Tcl/Tk best-seller, now thoroughly up-to-date for Tcl 8.2 and the Tcl net Server! Tcl/Tk 8.2 is the 1st scripting language that could deal with enterprise-wide integration initiatives that surround home windows, Solaris, Macintosh, and different key systems. Now, during this absolutely up to date 3rd version, Tcl/Tk improvement staff member and best-selling writer Brent Welch offers all you must comprehend to accomplish strong effects with Tcl/Tk 8.2 and the hot Tcl internet Server. assurance comprises: * Tcl's primary mechanisms and working method interfaces * easy and complex coding thoughts and instruments, together with the Tcl script library facility * Tk and X Windows-with unique examples and pattern widgets * the hot, extensible Tcl net Server * New Tcl internationalization positive aspects and thread help * New suggestions for operating with commonplace expressions and namespaces you will find wide assurance of consumer interface improvement, in addition to program integration ideas that leverage Tcl/Tk's strong cross-platform scripting features. Welch covers Tcl's wide community aid, in addition to secure Tcl, C programming with the Tk toolkit, the Tcl compiler, and Tcl/Tk plug-ins for Netscape and net Explorer. no matter if you are a present Tcl/Tk programmer, or a developer trying to find a handy, strong multiplatform scripting language, sensible Programming in Tcl and Tk, 3rd version grants precisely what you are looking for. "This is a wonderful e-book, loaded with valuable examples. rookies to Tk will locate the widget descriptions really beneficial. - John Ousterhout CEO and founding father of Scriptics company and thecreator of Tcl/Tk "Brent Welch fills a big want for an advent to Tcl/Tk with an utilized concentration and with insurance of some of the valuable extensions to be had . . . i like to recommend this ebook to my new scholars . . . and that i make a copy convenient for my very own use. - Joseph A. Konstan, Professor of computing device technology college of Minnesota in regards to the CD-ROM The accompanying CD-ROM contains the Tcl internet Server; Tcl/Tk distributions for home windows 9x/NT, Solaris, and Macintosh; plus an in depth number of loose Tcl/Tk software-including all of the code from the ebook. paintings: contain an identical boxed fees that seemed at the 2e again disguise.

Show description

Read or Download Practical Programming in Tcl and Tk PDF

Best graphics & multimedia books

Advances in Image And Video Segmentation

Photograph and video segmentation is among the most important initiatives of snapshot and video research: extracting details from a picture or a series of pictures. within the final forty years, this box has skilled major development and improvement, and has led to a digital explosion of released details.

Signal Processing for Computer Vision

Sign Processing for machine imaginative and prescient is a distinct and thorough therapy of the sign processing elements of filters and operators for low-level laptop imaginative and prescient. computing device imaginative and prescient has advanced significantly over contemporary years. From tools in simple terms acceptable to uncomplicated pictures, it has constructed to house more and more advanced scenes, volumes and time sequences.

Digital Modeling of Material Appearance

Content material: Acknowledgments, web page ix1 - creation, Pages 1-42 - heritage, Pages 5-263 - commentary and class, Pages 27-464 - Mathematical phrases, Pages 47-605 - normal fabric types, Pages 61-1216 - really good fabric versions, Pages 123-1597 - size, Pages 161-1918 - getting older and weathering, Pages 193-2259 - Specifying and encoding visual appeal descriptions, Pages 227-24210 - Rendering visual appeal, Pages 243-275Bibliography, Pages 277-302Index, Pages 303-317

Microsoft PowerPoint 2013: Illustrated Brief

Praised through teachers for its concise, centred process and common structure, the Illustrated sequence engages either computing device newbies and scorching pictures in studying Microsoft PowerPoint 2013 speedy and successfully. talents are obtainable and easy-to-follow due to the Illustrated sequence' hallmark 2-page format, which permits scholars to determine a whole activity in a single view.

Extra resources for Practical Programming in Tcl and Tk

Example text

The use of the dollar sign is our first example of substitution. You can imagine that the second set command gets rewritten by substituting the value of var for $var to obtain a new command. set b 5 The actual implementation of substitution is more efficient, which is important when the value is large. Top Practical Programming in Tcl & Tk, Third Edition By Brent B. Welch Table of Contents Chapter 1. Tcl Fundamentals Command Substitution The second form of substitution is command substitution. A nested command is delimited by square brackets, [ ].

In the third command, substitutions are prevented, so the string is printed as is. In practice, grouping with curly braces is used when substitutions on the argument must be delayed until a later time (or never done at all). Examples include loops, conditional statements, and procedure declarations. Double quotes are useful in simple cases like the puts command previously shown. Another common use of quotes is with the format command. This is similar to the C printf function. The first argument to format is a format specifier that often includes special characters like newlines, tabs, and spaces.

Even if you have programmed in Tcl already, you should review Chapter 1. Chapter 2 goes over the details of using Tcl and Tk on UNIX, Windows, and Macintosh. Chapter 3 presents a sample application, a CGI script, that illustrates typical Tcl programming. The rest of Part I covers the basic Tcl commands in more detail, including string handling, data types, control flow, procedures, and scoping issues. Part I finishes with a description of the facilities for file I/O and running other programs. Part II describes advanced Tcl programming.

Download PDF sample

Rated 4.11 of 5 – based on 8 votes