Control Structures

Conditionals

The if Command

The switch Command

Iteration

The while Command

The for Command

The foreach Command

Iteration over lists. More efficient than indexing over a list (is able to make one pass over the list).

The loop Command

Extended Tcl.
Keith Waclena
The University of Chicago Library
This page last updated: Tue Aug 2 12:16:48 CDT 1994
This page was generated from Extended HTML by xhtml.