📄 index.htm
字号:
<html>
<head>
<title>Table of Contents</title>
<script><!--
//Count Links//
if( document.images ) { Buf = new Image() }
function count_pub_links() {
if( document.images ) { Buf.src = "../../../../../counters/TFP_IEEE.gif" }
}
//--></script>
</head>
<body BGCOLOR="#FFF0E0" VLINK="#0FBD0F" TEXT="#101000" LINK="#0F0FDD">
<table>
<tr>
<td><p align="center"><font SIZE="1"><a
HREF="javascript:if(confirm('http://www.amazon.com/exec/obidos/ASIN/0818685158/softwarbuildan00 \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.amazon.com/exec/obidos/ASIN/0818685158/softwarbuildan00'"
tppabs="http://www.amazon.com/exec/obidos/ASIN/0818685158/softwarbuildan00"
onclick="count_pub_links()">Order from Amazon.Com.</a> </font></td>
</tr>
<tr>
<td WIDTH="20%"><img SRC="cover.gif"
tppabs="http://www.mapfree.com/sbf/tcl/book/cover.gif" Alt="[Book's Cover]" ALIGN="LEFT"
width="150" height="188"> </td>
<td ROWSPAN="2" WIDTH="80%"><p align="center"><big><font face="Arial" color="#804040"><strong><big><big>Tcl
/ Tk for Programmers</big></big></strong></font></big></p>
<h1 align="center">Table of Contents</h1>
<p align="center"><i><font SIZE="-1">If you are interested in web-site development, you
may want<br>
to look at my ongoing journal on <a
HREF="javascript:if(confirm('http://www.mapfree.com/sbf/tcl/webnews/current.html \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.mapfree.com/sbf/tcl/webnews/current.html'"
tppabs="http://www.mapfree.com/sbf/tcl/webnews/current.html">web developer's issues</a>.<br>
It is updated twice weekly with links to related web sites. </font></i></td>
</tr>
<tr>
<td><p align="center"><font SIZE="1"><a
HREF="javascript:if(confirm('http://computer.org/cspress/CATALOG/bp08515.htm \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://computer.org/cspress/CATALOG/bp08515.htm'"
tppabs="http://computer.org/cspress/CATALOG/bp08515.htm" onclick="count_pub_links()">Order
from publisher.</a> </font></td>
<td></td>
</tr>
</table>
<dl>
<dd><cite>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. </dd>
</dl>
</cite><PAR>
<strong><a HREF="f.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/f.html">
<p>Forward</a></strong><br>
</p>
<h3>1. <a HREF="1.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/1.html">Getting
Started</a></h3>
<dl>
<dd><strong>1.1 <a HREF="1.1.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/1.1.html">Obtaining Tcl/Tk</a></strong><br>
<strong>1.2 <a HREF="1.2.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/1.2.html">Interactive Execution</a></strong><br>
<strong>1.3 <a HREF="1.3.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/1.3.html">Direct Execution</a></strong><br>
<strong>1.4 <a HREF="1.4.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/1.4.html">Reading this Book</a></strong><br>
<strong>1.5 <a HREF="1.5.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/1.5.html">Requirements for
Networking Examples</a></strong><br>
<strong>1.6 <a HREF="1.6.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/1.6.html">Requirements for the
C/C++ Connection</a></strong><br>
<strong>1.7 <a HREF="1.7.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/1.7.html">Tcl/Tk Version
Requirements</a></strong><br>
</dd>
</dl>
<h3>2. <a HREF="2.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/2.html">Basic
Syntax and I/O</a></h3>
<dl>
<dd><strong>2.1 <a HREF="2.1.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/2.1.html">The Form of a Tcl Script</a></strong><br>
<strong>2.2 <a HREF="2.2.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/2.2.html">Variables in Tcl</a></strong><br>
<strong>2.3 <a HREF="2.3.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/2.3.html">Copying a File Line by
Line</a></strong><br>
<strong>2.4 <a HREF="2.4.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/2.4.html">While Loop</a></strong><br>
<strong>2.5 <a HREF="2.5.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/2.5.html">Curly Brackets</a></strong><br>
<strong>2.6 <a HREF="2.6.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/2.6.html">Double Quotes</a></strong><br>
<strong>2.7 <a HREF="2.7.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/2.7.html">Command Substitution</a></strong><br>
<strong>2.8 <a HREF="2.8.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/2.8.html">Opening Files</a></strong><br>
<strong>2.9 <a HREF="2.9.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/2.9.html">Completed File Copying
Example</a></strong><br>
<strong>2.10 <a HREF="2.10.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/2.10.html">More about Substitution</a></strong><br>
<strong>2.11 <a HREF="2.11.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/2.11.html">Solutions to Exercises</a></strong><br>
</dd>
</dl>
<h3>3. <a HREF="3.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/3.html">Expressions
and Branching</a></h3>
<dl>
<dd><strong>3.1 Expressions</strong><br>
<strong>3.2 Branching</strong><br>
<strong>3.3 Math Functions</strong><br>
<strong>3.4 Solutions to Exercises</strong><br>
</dd>
</dl>
<h3>4. <a HREF="4.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/4.html">Procedures</a></h3>
<dl>
<dd><strong>4.1 Procedures</strong><br>
<strong>4.2 Global and Local Variables</strong><br>
<strong>4.3 Passing Arguments by Reference</strong><br>
<strong>4.4 Default Values for Parameters</strong><br>
<strong>4.5 Reimplementing Procedures</strong><br>
<strong>4.6 Regional Variables</strong><br>
<strong>4.7 Action Families</strong><br>
<strong>4.8 An Example Action Family</strong><br>
<strong>4.9 Implementing Action Families in Earlier Versions of Tcl</strong><br>
<strong>4.10 Error Handling</strong><br>
<strong>4.11 <cite>Procedures Defining Procedures</cite></strong><br>
<strong>4.12 Solutions to Exercises</strong><br>
</dd>
</dl>
<h3>5. <a HREF="5.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/5.html">Data
Structures and Iteration</a></h3>
<dl>
<dd><strong>5.1 Associative Arrays and the Concept of Function</strong><br>
<strong>5.2 Using Arrays for Missing Features</strong><br>
<strong>5.3 Procedures for Working with Arrays</strong><br>
<strong>5.4 The <tt>scan</tt> and <tt>format</tt> Procedures</strong><br>
<strong>5.5 Lists</strong><br>
<strong>5.6 An Action Family for Working with Lists</strong><br>
<strong>5.7 Lists Support Flexible Argument Usage</strong><br>
<strong>5.8 Switches and Options</strong><br>
<strong>5.9 Iteration</strong><br>
<strong>5.10 <cite>Indexing Web Sites</cite></strong><br>
<strong>5.11 Solutions to Exercises</strong><br>
</dd>
</dl>
<h3>6. <a HREF="6.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/6.html">Strings,
Files, and Glob Pattern Matching</a></h3>
<dl>
<dd><strong>6.1 The <tt>string</tt> Action Family</strong><br>
<strong>6.2 The <tt>file</tt> Action Family</strong><br>
<strong>6.3 The <tt>info</tt> Action Family</strong><br>
<strong>6.4 Glob Patterns</strong><br>
<strong>6.5 Commands Accepting Glob Patterns</strong><br>
<strong>6.6 Developing for Multiple Platforms</strong><br>
<strong>6.7 <cite>A Virtual Machine</cite></strong><br>
<strong>6.8 Solutions to Exercises</strong><br>
</dd>
</dl>
<h3>7. <a HREF="7.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/7.html">Regexp
and Regsub</a></h3>
<dl>
<dd><strong>7.1 <a HREF="7.1.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/7.1.html">Theory and Practice</a></strong><br>
<strong>7.2 <a HREF="7.2.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/7.2.html">Character Set, Quoting,
and Style</a></strong><br>
<strong>7.3 <a HREF="7.3.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/7.3.html">Regular-Expression
versus Glob Patterns</a></strong><br>
<strong>7.4 <a HREF="7.4.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/7.4.html">Repetitions and Branches</a></strong><br>
<strong>7.5 <a HREF="7.5.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/7.5.html">Use Parentheses to Build
more Complicated Patterns</a></strong><br>
<strong>7.6 <a HREF="7.6.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/7.6.html">Use Parentheses to
Extract Subpatterns</a></strong><br>
<strong>7.7 <a HREF="7.7.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/7.7.html">Search and Replace</a></strong><br>
<strong>7.8 <a HREF="7.8.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/7.8.html"><cite>Style Review</cite></a></strong><br>
<strong>7.9 <a HREF="7.9.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/7.9.html">Solutions to Exercises</a></strong><br>
</dd>
</dl>
<h3>8. <a HREF="8.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/8.html">Tcl
Odds and Ends</a></h3>
<dl>
<dd><strong>8.1 Starting Processes and Pipes</strong><br>
<strong>8.2 More about I/O</strong><br>
<strong>8.3 More about Variables</strong><br>
<strong>8.4 The <tt>clock</tt> Action Family</strong><br>
<strong>8.5 Building Command Lines</strong><br>
<strong>8.6 Object Action Families</strong><br>
<strong>8.7 Executing Scripts from within Scripts</strong><br>
<strong>8.8 Interpreter Hierarchies</strong><br>
<strong>8.9 Delaying Execution</strong><br>
<strong>8.10 Performance Testing</strong><br>
<strong>8.11 The Current Directory</strong><br>
<strong>8.12 Binary Data</strong><br>
<strong>8.13 Solutions to Exercises</strong><br>
</dd>
</dl>
<h3>9. <a HREF="9.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/9.html">More
about Procedures</a></h3>
<dl>
<dd><strong>9.1 Packages and Automatically Sourcing Procedures</strong><br>
<strong>9.2 Loading Procedures in Binary Form</strong><br>
<strong>9.3 On Control Structures</strong><br>
<strong>9.4 Example Control Structure</strong><br>
<strong>9.5 Solutions to Exercises</strong><br>
</dd>
</dl>
<h3>10. <a HREF="10.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/10.html">TCP/IP
Networks and Event-Driven Programming</a></h3>
<dl>
<dd><strong>10.1 TCP/IP Networks as Seen from Tcl</strong><br>
<strong>10.2 The World Wide Web as a Client/Server Application</strong><br>
<strong>10.3 Creating a Web Client in Tcl</strong><br>
<strong>10.4 The Event Loop</strong><br>
<strong>10.5 Timeouts</strong><br>
<strong>10.6 Background Error Handling</strong><br>
<strong>10.7 Client/Server the Tcl Way</strong><br>
<strong>10.8 More about the Event Loop</strong><br>
<strong>10.9 The <tt>http</tt> Package</strong><br>
<strong>10.10 A Brief HTML Introduction</strong><br>
<strong>10.11 Solutions to Exercises</strong><br>
</dd>
</dl>
<h3>11. <a HREF="11.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/11.html">Overview
of Tk</a></h3>
<dl>
<dd><strong>11.1 <a HREF="11.1.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/11.1.html">Starting with Tk</a></strong><br>
<strong>11.2 <a HREF="11.2.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/11.2.html">The Tk Way of Thinking</a></strong><br>
<strong>11.3 <a HREF="11.3.html"
tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/11.3.html">Details of the Caps
Example</a></strong><br>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -