Created
April 23, 2013 00:49
-
-
Save giseongeom/5439927 to your computer and use it in GitHub Desktop.
재귀를 이용한 stack limit 테스트
PowerShell v1 에서는 100이 최대였다고 한다.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function myfunc([int]$n) | |
{ | |
if ($n -gt 0) { Write-Host $n ; myfunc($n-1) } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment