repeat

Command: repeat


Synopsis
n proc repeat
Description

repeat executes the supplied procedure n times.
The loop can be left prematurely using exit.

Note: The interation counter is not available
to the procedure. If this is desired use for instead.

File
sli/slicontrol.cc
Examples

SLI ] 3 { (Hello world) = } repeat
Hello world
Hello world
Hello world
SLI ]

SeeAlso