RIP
Tutorial
Tags
Topics
Examples
eBooks
Download tcl (PDF)
tcl
Getting started with tcl
Control Structures
Dictionaries
Expressions
Pathnames and filenames
Procedure arguments
Regular Expressions
Tcl Language Constructs
Variables
Assigning values to variables
Deleting variable/s
Invoking set with one argument
Namespace variables
Printing the value of a variable
Scoping
tcl
Getting started with tcl
Control Structures
Dictionaries
Expressions
Pathnames and filenames
Procedure arguments
Regular Expressions
Tcl Language Constructs
Variables
Assigning values to variables
Deleting variable/s
Invoking set with one argument
Namespace variables
Printing the value of a variable
Scoping
tcl
Variables
Syntax
set
varName
?value?
unset ?
-nocomplain
? ?--? ?
varName varName varName
?
puts $
varName
puts [set
varName
]
variable
varName
global
varName
?
varName varName
?
Remarks
Parameters enclosed within
?...?
such as
?varName?
represent optional arguments to a Tcl command.
Documentation:
global
,
upvar
Variables Related Examples
Assigning values to variables
Deleting variable/s
Invoking set with one argument
Namespace variables
Printing the value of a variable
Scoping
PDF
- Download
tcl
for free
Previous
Next
This modified text is an extract of the original
Stack Overflow Documentation
created by following
contributors
and released under
CC BY-SA 3.0
This website is not affiliated with
Stack Overflow