Find limit of recursion: Difference between revisions

Content added Content deleted
({{header|BASIC}})
Line 118: Line 118:


=={{header|BASIC}}==
=={{header|BASIC}}==
==={{header|ZX Spectrum Basic}}
==={{header|ZX Spectrum Basic}}===
On the ZX Spectrum recursion is limited only by stack space. The program eventually fails, because the stack is so full that there is no stack space left to make the addition at line 110:
On the ZX Spectrum recursion is limited only by stack space. The program eventually fails, because the stack is so full that there is no stack space left to make the addition at line 110:
<lang zxbasic>
<lang zxbasic>