do...until - coldrockgames/doc-scriptor GitHub Wiki

Syntax

do
    // write the code to be repeated here
until <condition>[==true]

do...until is an exit-controlled-loop, meaning the loop body is always executed at least once. The exit condition is evaluated at the end of each iteration, unlike while or for loops, which check the condition before the loop body executes.

// A simple form of a repeat x-times loop

i = 0
do
    // do something
    i++
until i == 10
⚠️ **GitHub.com Fallback** ⚠️