next up previous
Next: Creating Tcl Extensions Up: Tcl: A Generic Previous: Lists

Additional Tcl Details

String Manipulation:
    regexp    format    split     string
    regsub    scan      join
File I/O:
    open      gets      seek      flush     glob
    close     read      tell      cd
    puts      source    eof       pwd
Error Handling:
    catch     error     errInfo
Subprocesses:
    exec grep foo << $input | wc
Associative Arrays:
    set x(fred) 44
    set x(2) [expr $x(fred) + 6]
Variable Scoping:
	global    uplevel   upvar
Access to Tcl internals:
	info      rename    trace
Autoloading:

More on substitutions:

Commands and Lists:


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

cs488@cgl.uwaterloo.ca