minion/return.mn

15 lines
208 B
Text
Raw Permalink Normal View History

2022-06-17 17:09:43 +02:00
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)