1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00
anselme/test/tests/function scoped recursive.ans

19 lines
144 B
Text

:n = 0
:$ f(c=1)
:a = 1
|start: {a}
a = a + 1
n += 1
|before recursion {c}: {a}
if(n < 5)
f(c+1)
|after recursion {c}: {a}
f!