Orb Programming Language

Repeat

repeat executes a given block of instructions a given number of times.

    repeat 3 {
        std.println "Hello!";
    };

If the number is not given, the block will keep executing until otherwise terminated.

    repeat {
        handleInput;
        update;
        render;
    };