|
ActiveTcl User Guide |
|
Tcl >> Tcl Built-In Commands >> Control
Constructs
- Control Constructs
-
- after - Execute a command after
a time delay
- break - Abort looping
command
- catch - Evaluate script and trap
exceptional returns
- continue - Skip to the next
iteration of a loop
- coroutine - Create and
produce values from coroutines
- error - Generate an error
- 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
- update - Process pending events
and idle callbacks
- uplevel - Execute a script in
a different stack frame
- vwait - Process events until a
variable is written
- while - Execute script
repeatedly as long as a condition is met
Copyright © 1989-1994 The Regents of the University of California.
Copyright © 1990-1994 The Regents of the University of California
Copyright © 1992-1999 Karl Lehenbauer and Mark Diekhans
Copyright © 1992-1999 Karl Lehenbauer and Mark Diekhans.
Copyright © 1993-1997 Bell Labs Innovations for Lucent Technologies
Copyright © 1994 The Australian National University
Copyright © 1994-2000 Sun Microsystems, Inc.
Copyright © 1997-2000 Ajuba Solutions.
Copyright © 1997-2000 Scriptics Corporation.
Copyright © 1998 Mark Harrison.
Copyright © 1998-1999 Scriptics Corporation
Copyright © 1998-1999 Scriptics Corportation
Copyright © 1995-1997 Roger E. Critchlow Jr.