DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
(TCL) commands by type

Flow of control commands

Available commands are:


break(TCL)
terminates a looping command

case(TCL)
evaluates one of several scripts, depending on a given value

catch(TCL)
evaluates a script and traps exceptional returns

continue(TCL)
skips to the next iteration of a loop

eval(TCL)
evaluates a Tcl script

exec(TCL)
invokes subprocess(es)

exit(TCL)
ends the application

expr(TCL)
evaluates an expression

for(TCL)
initiates a for loop

foreach(TCL)
iterates over all elements in a list

if(TCL)
executes scripts conditionally

incr(TCL)
increments the value of a variable

proc(TCL)
creates a Tcl procedure

return(TCL)
returns from a procedure

source(TCL)
evaluates a file as a Tcl script

switch(TCL)
evaluates one of several scripts, depending on a given value

trace(TCL)
monitors variable accesses

unknown(TCL)
handles attempts to use non-existent commands

uplevel(TCL)
executes a script in a different stack frame

while(TCL)
executes a script repeatedly as long as a condition is met

Next topic: Information commands
Previous topic: Environment commands

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003