minion/return.mn
2022-06-17 17:09:43 +02:00

14 lines
208 B
Text

func: test(void: i) = {
number: x = 10
return x
}
func: print(number: n, string: endl) = {
stdout: out = n
stdout: outln = endl
}
string: end = {
}
void: j = void
number: y = test(j)
print(y, end)