Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Buy Now $5.00
Standard view
Full view
of .
Look up keyword or section
Like this
2Activity

Table Of Contents

TcL Language Basics
Simplicity Takes Precedence
No reserved word
Standard scripting procedures all are lower-case
All statements are one line
One-character blocking tokens
Declared names are alphanumeric
Blanks are separators
Statements = semicolons
One comment token
Data Types
Variables
Strings
Lists
Arrays
Variable Name Conflicts
Quoting
Inline Execution
String Concatenation
Arithmetic
string Commands -- trim
Basic Command Review
Lab 1: Simple TcL Scripts
Program Structure
Procedures
Declaration
Return value
Arguments
Procedures and Global Variables
The TcL Stack Frame
Control Constructs
if
switch
foreach
while
source Command
A Few string Commands
string length
string index
string first
string range
string replace
Basic File I/O
glob
file
open
close
gets id
puts id
fconfigure
Examples of file I/O
Scripting Overview
Lab 2: TcL Programming
Index
P. 1
TcL Fundamentals 1Day Course with Answers

TcL Fundamentals 1Day Course with Answers

Ratings: (0)|Views: 28 |Likes:
This contains the material of an intensive basic course designed to be given in one full day. It assumes some experience in a modern programming language such as BASIC, C, or C++.

Topics: Language syntax, data types, arithmetic, language operators and expressions, basic variables (strings, lists, and arrays), quoting, inline execution, control constructs, script-writing, and basic file I/O.

The attendee will learn everything necessary to write simple, stand-alone Tcl scripts such as those applicable to the use of modern EDA tools.

No advanced Tcl, graphical programming in Tk, or Tcl extension writing is included.
This contains the material of an intensive basic course designed to be given in one full day. It assumes some experience in a modern programming language such as BASIC, C, or C++.

Topics: Language syntax, data types, arithmetic, language operators and expressions, basic variables (strings, lists, and arrays), quoting, inline execution, control constructs, script-writing, and basic file I/O.

The attendee will learn everything necessary to write simple, stand-alone Tcl scripts such as those applicable to the use of modern EDA tools.

No advanced Tcl, graphical programming in Tk, or Tcl extension writing is included.

More info:

Categories:Types, Research
Published by: John Michael Williams on Feb 22, 2013
Copyright:Traditional Copyright: All rights reserved
List Price: $5.00 Buy Now

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
See more
See less

12/29/2013

$5.00

USD

pdf

text

original

You're Reading a Free Preview
Pages 8 to 63 are not shown in this preview.

Activity (2)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->