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

📄 5.html

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

Tcl has only two data types: strings and arrays of strings.  This chapter
discusses both and ways of iterating through them.  It is possible to iterate
through strings because they are viewed as lists of elements separated by
white space.  

<P>  Of course it is more traditional to view strings as sequences of characters
rather than as lists.  The traditional point of view is taken in Sections 5.4
and 6.1 as well as in all of Chapter 7.

<P>    As this is the first chapter in which some built-in action families are
described, it seems a good place to describe switches and options.  These 
are standardized ways of altering the behavior of actions.

<UL>
<LI> 
Associative Arrays and the Concept of Function
<LI> 
Using Arrays for Missing Features
<LI> 
Procedures for Working with Arrays
<LI> 
The <TT>scan</TT> and <TT>format</TT> Procedures
<LI> 
Lists
<LI> 
An Action Family for Working with Lists
<LI> 
Lists Support Flexible Argument Usage
<LI> 
Switches and Options
<LI> 
Iteration
<LI> 
<CITE>Indexing Web Sites</CITE>
<LI> 
Solutions to Exercises
</UL>
<!-- 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="4.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/4.html">chapter</A><WBR>
<STRONG>Next</STRONG>
<A HREF="6.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/6.html">chapter</A><WBR>
<STRONG>All</STRONG>
<A HREF="Contents.html" tppabs="http://www.mapfree.com/sbf/tcl/book/select/Html/Contents.html">chapters</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 + -