next up previous
Next: Quoting Up: Tcl: A Generic Previous: Expressions

Command Substitution

Syntax: [TclScript]
Examples:
set b 8

8
set a [expr $b + 2]

10



CS488/688: Introduction to Interactive Computer Graphics
University of Waterloo
Computer Graphics Lab

cs488@cgl.uwaterloo.ca