aocla/examples/rec-for.aocla

11 lines
164 B
Text
Raw Normal View History

2022-12-22 11:08:16 +01:00
// For loop implemented with recursion
[(x y f)
[$x $y <] [
$x $f eval
$x 1 + $y $f count
] if
] 'count def
0 15 [print "\n" print] count