Jump to content

Find limit of recursion: Difference between revisions

m
→‎Delphi: Fix up
m (→‎Delphi: Fix up)
Line 303:
 
----
== '''{{header|Delphi''' }}==
{{works with|Delphi|5.0}}
 
<lang delphi>program Project2;
{$APPTYPE CONSOLE}
uses
Line 326:
Writeln('Recursion Level is ' + inttostr(Recursive(0)));
Readln(GetInput);
end.</lang>
 
The above code is compiled for Delphi 5.0 version and the result value returned in the console is -
 
Recursion Level is 4233548
 
Output:
--[[User:Neo.abhinav|Neo.abhinav]] 17:43, 4 May 2011 (UTC)
<pre>Recursion Level is 4233548</pre>
 
=={{header|E}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.