Looping

Paragraphs allow simple loops by starting a block of commands with the loop command and ending that block with the repeat command. The loop command indicates the beginning of a loop in a paragraph.

Syntax

loop
tcl.commands
repeat
Note: The loop statement does nothing by itself. It must be followed by a repeat statement to cause the looping effect. Such a loop continues indefinitely unless terminated by a branch structure. It is not possible to execute the TCL loop statement from within a paragraph.