Find limit of recursion: Difference between revisions

→‎{{header|Delphi}}: Adds Déjà Vu example
(→‎{{header|Delphi}}: Adds Déjà Vu example)
Line 470:
Output:
<pre>Recursion Level is 28781</pre>
=={{header|Déjà Vu}}==
{{untested|Déjà Vu}}
<lang dejavu>rec-fun n:
!. n
rec-fun ++ n
 
rec-fun 0</lang>
This continues until the memory is full, so I didn't wait for it to finish. Currently, it should to to almost 3 million levels of recursion on a machine with 1 GB free. Eliminating the <code>n</code> should give over 10 million levels on the same machine.
 
=={{header|DWScript}}==
Anonymous user