Find limit of recursion: Difference between revisions
Add SmallBASIC
(PascalABC.NET) |
(Add SmallBASIC) |
||
Line 619:
4/30</pre>
(The error code means "out of memory attempting to execute line <tt>30</tt>".)
==={{header|SmallBASIC}}===
<syntaxhighlight lang="qbasic">
sub Recursion(i)
print i
Recursion(i + 1)
end
Recursion(0)
</syntaxhighlight>
==={{header|Tiny BASIC}}===
|