Find limit of recursion: Difference between revisions

→‎{{header|AWK}}: Add nawk to comment.
(→‎{{header|AWK}}: Add nawk to comment.)
Line 52:
Error: Recursion level has been exceeded - AutoIt will quit to prevent stack overflow.
=={{header|AWK}}==
<lang AWK># syntax: GAWK -f FIND_LIMIT_OF_RECURSION.AWK
<lang AWK>
# syntax: GAWK -f FIND_LIMIT_OF_RECURSION.AWK
#
# contributed by Dan Nielsen
# modified by contributors to Rosetta Code
#
# version depth messages
Line 62:
# XML GAWK 3.1.4 3026 none
# GAWK 4.0 >999999
# MAWK 1.3.3 4976 A stack overflow was encountered at address 0x7c91224e.
# address 0x7c91224e.
# TAWK-DOS AWK 5.0c 357 stack overflow
# TAWK-WIN AWKW 5.0c 2477 awk stack overflow
# NAWK 20100523 4351 Segmentation fault (core dumped)
#
BEGIN {
Line 74 ⟶ 76:
if (n > 999999) { return }
x()
}</lang AWK>
}
</lang>
 
=={{header|Batch File}}==
Anonymous user