peon/tests/loops.pn

19 lines
202 B
Plaintext

import std;
var from = 10;
let to = 0;
while from > to {
from = from - 1;
}
print(from == to);
var start = 0;
let stop = 10;
while start < stop {
start = start + 1;
}
print(start == stop);