1 / 455
文档名称:

Prentice Hall - Practical Programming in Tcl and Tk.pdf

格式:pdf   页数:455
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

Prentice Hall - Practical Programming in Tcl and Tk.pdf

上传人:bolee65 2014/4/18 文件大小:0 KB

下载得到文件列表

Prentice Hall - Practical Programming in Tcl and Tk.pdf

文档介绍

文档介绍:Practical Programming
in Tcl and Tk
Brent Welch
DRAFT, January 13, 1995
Updated for Tcl and Tk
THIS IS NOT THE PUBLISHED TEXT
THE INDEX IS PLETE
SOME SECTIONS ARE MISSING
THE MANUSCIRPT HAS NOT BEEN EDITED
GET THE REAL BOOK: ISBN 0-13-182007-9
An enhanced version of this text has been published by
Prentice Hall: ISBN 0-13-182007-9
ments via email to
welch@
with the word “book” in the subject.
/~bwelch/book/
The book is under copyright. Print for personal use only.
This on-line DRAFT is available curtesty the kind folks at PH.
Table of Contents
1. Tcl Fundamentals ............................................. 1
Getting Started ............................................................1
mands .............................................................2
Hello World ..................................................................3
Variables ......................................................................3
Command Substitution ................................................4
Math Expressions ........................................................4
Backslash Substitution ................................................6
Double Quotes .............................................................7
Procedures ...................................................................7
A While Loop Example ..................................................8
Grouping mand Substitution .......................10
More About Variable Substitution ..............................11
Substitution And Grouping Summary ........................11
Fine Points .................................................................12
Comments .................................................................13
Command Line Arguments .........................................13
Reference ...................................................................14
Backslash Sequences ...........................................