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.