⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 14.html

📁 Tcl 语言的入门级图书
💻 HTML
字号:
<HTML><TITLE>Getting Started: Reading this Book</TITLE><BODY BGCOLOR="#FFF0E0" VLINK="#0FBD0F" TEXT="#101000" LINK="#0F0FDD">
<A NAME="top"><H1>Reading this Book</H1></A>


<P>  For a solid working knowledge of Tcl, study Chapters 1&#151;8.  After 
that
continue with Chapter 9 or skip to Chapter 11.  When you have finished 
Chapter
19, you will have a solid working knowledge of Tk.  You can add on the other
topics as you need them.

<P>  In many chapters, there are sections which add no new facts about
Tcl/Tk.  These sections are useful because they provide examples that help you
to develop a style for programming in Tcl/Tk that fits the language.
However, they can be skipped on first reading.  You can recognize these
sections because their names are italicized.

<P>  The book is written for looking things up <CITE>but do not expect all 
things to
be present</CITE>.  Use your on-line manual if you do not see what you need in the
book.  Look for additional commands and look for additional ways of using
commands that are in the book.  There are two reasons you must do this: First,
I have omitted some things to prevent the book from becoming deadly dull.
Second, Tcl/Tk is constantly changing.

<P>  Here and there in the book, are script boxes which contain example Tcl or Tk
scripts.  For your convenience,  the scripts in these boxes are also available
in downloadable form.  You can find them from  


<A HREF="javascript:if(confirm('http://www.mapfree.com/sbf/tcl/book/home.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/book/home.html'" tppabs="http://www.mapfree.com/sbf/tcl/book/home.html">this book's
home page.</A>

The names of the downloadable files are the same as the names of the
corresponding boxed scripts.  The names, for example, "S4.5a" and "S10.7b," are
chosen to identify the sections in which the script boxes are found &#150; the
final letter of a name differentiates between multiple script boxes in the
same section.

<P>  The same <NAME=#G1.4homepage>home page</A> indexes scripts which solve exercises.
Although all exercises are solved in this book, only some solutions are also
available at the Web site.  Example names for on-line exercise scripts are
"ES5.8c" and "ES24.4bW."  Strip these names of the capital letters and
you have the exercise that the script solves.  The additional "W" at the
end of "ES24.4bW" indicates that this "script" is a C program that has
been prepared for compilation on a Windows system.

<P>  All exercise numbers and script numbers end with lowercase letters.  Remove
this lowercase letter and you have the section where the exercise or script
may be found.

<P>  Index entries are to just one place in the text.  When other places in the
text provide important additional information, there are cross references.  

<P> <STRONG>Conventions for Procedures</STRONG> <DL><DD>

<P>  Here is a pattern that shows how a Tcl procedure is invoked:

<PRE>
<CITE>PROC_NAME ARG1 ARG2 ... ARGn </CITE>
</PRE>

Each of <CITE>ARG1,</CITE> <CITE>ARG2,</CITE> and so on, must match up with a variable found
in the definition of the procedure, for example,

<PRE>
proc <CITE>PROC_NAME {VAR1 VAR2 ... VARn}</CITE>  { ... }
</PRE>

This kind of matching is done in almost all programming languages, but the
terms to describe it are not universal.  In this book each of <CITE>ARG1,</CITE>
<CITE>ARG2,</CITE> and so on, is called an <CITE>argument</CITE> and each of the 
corresponding
variables, <CITE>VAR1,</CITE> <CITE>VAR2,</CITE> and so on, is called a <CITE>parameter.</CITE>

<P>  Tcl procedures and commands always return a value.  When that value is
always an empty string, the description in this book is not likely to mention
it.


</DL>

<P> <!-- Linkbar -->
<P><CENTER><FONT SIZE=2><NOBR>
<STRONG>From</STRONG>
<A HREF="javascript:if(confirm('http://www.mapfree.com/sbf/tcl/book/home.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/book/home.html'" tppabs="http://www.mapfree.com/sbf/tcl/book/home.html">Tcl/Tk For Programmers</A><WBR>
<STRONG>Previous</STRONG>
<A HREF="1.3.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/1.3.html">section</A><WBR>
<STRONG>Next</STRONG>
<A HREF="1.5.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/1.5.html">section</A><WBR>
<STRONG>All</STRONG>
<A HREF="1.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/1.html">sections</A><WBR>
<STRONG>Author</STRONG>
<A HREF="javascript:if(confirm('http://www.mapfree.com/mp/jaz/home.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/mp/jaz/home.html'" tppabs="http://www.mapfree.com/mp/jaz/home.html">J. A. Zimmer</A><WBR>
<STRONG>Copyright</STRONG>
<A HREF="copyright.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/copyright.html">Notice</A><WBR>
<P>
<I>Jun 17, 1998</I>
 </NOBR></FONT></CENTER></BODY></HTML>


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -