Control Constructs
| after | Execute a command after a time delay |
update | Process pending events and idle callbacks |
| break | Abort looping command |
uplevel | Execute a script in a different stack frame |
| catch | Evaluate script and trap exceptional returns |
vwait | Process events until a variable is written |
| continue | Skip to the next iteration of a loop |
while | Execute script repeatedly as long as a condition is met |
| coroutine | Create and produce values from coroutines |
yield | Create and produce values from coroutines |
| error | Generate an error |
yieldto | Create and produce values from coroutines |
| eval | Evaluate a Tcl script |
| for | 'For' loop |
| foreach | Iterate over all elements in one or more lists |
| if | Execute scripts conditionally |
| return | Return from a procedure, or set return code of a script |
| switch | Evaluate one of several scripts, depending on a given value |
| tailcall | Replace the current procedure with another command |
| throw | Generate a machine-readable error |
| try | Trap and process errors and exceptions |
Copyright © 1990-1994 The Regents of the University of California
Copyright © 1992-1999 Karl Lehenbauer & Mark Diekhans
Copyright © 1992-1999 Karl Lehenbauer and Mark Diekhans
Copyright © 1993-1997 Bell Labs Innovations for Lucent Technologies
Copyright © 1994-2000 Sun Microsystems, Inc
Copyright © 1998 Mark Harrison
Copyright © 1998-2000 Ajuba Solutions
Copyright © 1998-2000 Scriptics Corporation
Copyright © 2001-2004 ActiveState Corporation
Copyright © 2001-2005 Kevin B. Kenny <kennykb(at)acm.org>
Copyright © 2001-2012 Donal K. Fellows
Copyright © 2003 George Petasis <petasis(at)iit.demokritos.gr>
Copyright © 2003 Simon Geard
Copyright © 2004-2010 Andreas Kupries <andreas_kupries(at)users.sourceforge.net>
Copyright © 2006 Miguel Sofer
Copyright © 2006-2008 ActiveState Software Inc
Copyright © 2006-2008 Joe Mistachkin
Copyright © 2008 Pat Thoyts
Copyright © 2008 Peter Spjuth <pspjuth(at)users.sourceforge.net>
Copyright © 2012 Trevor Davel