Loops
REDscript supports two kinds of loops: while and for..in loops.
while
The while
statement works the same way it does in most languages. It allows you to execute a block of code multiple times based on a conditional expression.
for..in
The for..in
loop allows you to iterate over all elements of an array.
Last updated