您好,欢迎光临本网站![请登录][注册会员]  
文件名称: Practical Programming in Tcl and Tk (英文版TCL学习资料 )
  所属分类: 其它
  开发工具:
  文件大小: 1mb
  下载次数: 2
  上传时间: 2009-08-14
  提 供 者: yuny****
 详细说明: 1. Tcl Fundamentals ............................................. 1 Getting Started ............................................................ 1 Tcl Commands ............................................................. 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 And Command 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 ........................................... 14 Arithmetic Operators ........................................... 14 Built-in Math Functions ...................................... 15 Core Tcl Commands ............................................. 15 Predefined Variables ............................................ 18 2. Strings and Pattern Matching ......................... 19 The string Command .................................................. 19 Strings And Expresssions ........................................... 20 The append Command ............................................... 21 The format Command ................................................ 21 The scan Command ................................................... 23 String Matching ......................................................... 24 Regular Expressions .................................................. 25 The regexp Command ................................................ 26 The regsub Command ................................................ 28 Created: May 9, 1994 —bookTOC.doc—Copyright Prentice Hall—DRAFT: 1/13/95 ii 3. Tcl Data Structures .........................................29 More About Variables ................................................. 29 The unset command ............................................ 30 Using info to find out about variables ................... 30 Tcl Lists ..................................................................... 31 Constructing Lists: list, lappend, and concat .............. 32 Getting List Elements: llength, lindex, and lrange ....... 33 Modifying Lists: linsert and lreplace ........................... 34 Searching Lists: lsearch ............................................. 34 Sorting Lists: lsort ...................................................... 35 The split And join Commands .................................... 35 Arrays ........................................................................ 36 The array Command .................................................. 37 Environment Variables ............................................... 38 Tracing Variable Values ............................................. 39 4. Control Flow Commands .................................41 If Then Else ................................................................ 42 Switch ........................................................................ 43 Foreach ...................................................................... 44 While ......................................................................... 45 For ............................................................................. 46 Break And Continue ................................................... 46 Catch ......................................................................... 46 Error .......................................................................... 48 Return ....................................................................... 49 5. Procedures and Scope .....................................51 The proc Command .................................................... 51 Changing command names with rename .................... 52 Scope ......................................................................... 53 The global Command ................................................. 53 Use Arrays for Global State ........................................ 55 Call By Name Using upvar .......................................... 55 Passing arrays by name ....................................... 56 The uplevel Command ................................................ 57 6. Eval ................................................................59 Eval And List ............................................................ ...展开收缩
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: TCL 英文版TCL学习资料
 输入关键字,在本站1000多万海量源码库中尽情搜索: