"Repeat" loop

repeat n [instructions]

Repeat n times execution of instructions from a list. Value of n has to be an integer number.

Example:

repeat 5 [print repcount]

Output:

1
2
3
4
5

See also:

Loop statements

Table of Content