Find limit of recursion: Difference between revisions

3rd way of self-calling in Batch
(→‎{{header|Tcl}}: Updated with notes about what the real limit is)
(3rd way of self-calling in Batch)
Line 43:
****** B A T C H PROCESSING IS A B O R T E D ******
</pre>
 
You also get the exact same results when calling mung internally, as below
 
<lang dos>
@echo off
set c=0
:mung
set /a c=c+1
echo [Level %c%] Mung until no good
call :mung
set /a c=c-1
echo [Level %c%] No good
</lang>
 
=={{header|Tcl}}==
Anonymous user