undar-lang/test/global.ul

14 lines
203 B
Plaintext
Executable File

nat i = 122;
nat j = 32;
print((i - j) as str);
halt;
function print(str string) {
nat i = 0;
while (i < string.length) {
write = string[i];
i = i + 1;
}
write = '\n';
}