Find limit of recursion: Difference between revisions

Content added Content deleted
m (added a ;Task: (bold) header, added other whitespace to the task's preamble.)
mNo edit summary
Line 2,092: Line 2,092:


The Bash reference manual says <cite>No limit is placed on the number of recursive calls</cite>, nonetheless a segmentation fault occurs at 13777 (Bash v3.2.19 on 32bit GNU/Linux)
The Bash reference manual says <cite>No limit is placed on the number of recursive calls</cite>, nonetheless a segmentation fault occurs at 13777 (Bash v3.2.19 on 32bit GNU/Linux)

=={{header|Ursa}}==
<lang ursa>def recurse (int counter)
try
recurse (+ recurse 1)
catch recursionerror
out "the limit of recursion was " counter endl console
end try
end</lang>


=={{header|VBScript}}==
=={{header|VBScript}}==