rhai/scripts/while.rhai

7 lines
58 B
Plaintext

var x = 10;
while x > 0 {
print(x);
x = x - 1;
}