repeat

Repeats a list of statements the given number of times. The number of times may be given directly, or it may be given as a numeric expression.

Syntax

    repeat numeric-expression times
        block-of-code
    done;

Example

    repeat 10 times
        println("Hello");
    done;