rhai/scripts/while.rhai
2020-05-25 20:14:31 +08:00

9 lines
89 B
Plaintext

// This script runs a while loop
let x = 10;
while x > 0 {
print(x);
x -= 1;
}