While-loop
While-loops are code blocks that are executed multiple times as long as the specified
CONDITION
is met. The behaviour of while-loops is very similar to
do-while-loops, and in some cases it even might be better to use
do-while than while-loops, so watch out for opportunities to replace while-loops with do-while
loops.
Released in v0.10.0 - Please update your version to access this feature.
Syntax
Execution Schema
-
Check
CONDITION
, if it exists, before running theSTATEMENT
. IfCONDITION
isfalse
, then the loop will be stopped! - Run
STATEMENT
ifCONDITION
wastrue
.