undar-lang/test/for.ul

9 lines
115 B
Plaintext
Executable File

nat i = 0;
for (nat x in 10) {
print(x as str);
}
for (nat j = 0; j < 10; j = j + 1) {
print(j as str);
}