rhai/scripts/while.rhai

7 lines
58 B
Plaintext
Raw Normal View History

2016-03-02 03:36:46 +01:00
var x = 10;
while x > 0 {
print(x);
x = x - 1;
}