REPEAT

Synopsis
REPEAT count instructionlist
Description

Runs the instructions in instructionlist repeatedly, count times.

The number of times which instructionlist has been run can be determined with REPCOUNT.

Example
REPEAT 3 [PRINT (LIST "This "is "iteration REPCOUNT)]
This is iteration 1
This is iteration 2
This is iteration 3
See Also
REPCOUNT
FOREVER

SourceForge.net Logo