Find limit of recursion: Difference between revisions

Content added Content deleted
m (→‎{{header|REXX}}: added comment about never executed code. -- ~~~~)
Line 1,219: Line 1,219:
506
506
An unexpected error occurred
An unexpected error occurred
</pre>

Using ooRexx:
rexx trec 1>x1 2>x2
puts the numbers in x1 and the error messages in x2
<pre>
...
2785
2786
8 *-* call self
....
8 *-* call self
3 *-* call self
Error 11 running C:\work.ooRexx\wc\main.4.1.1.release\Win32Rel\StreamClasses.orx line 366: Control stack full
Error 11.1: Insufficient control stack space; cannot continue execution
</pre>
</pre>