Skip to content

Instantly share code, notes, and snippets.

@giseongeom
Created April 23, 2013 00:49
Show Gist options
  • Save giseongeom/5439927 to your computer and use it in GitHub Desktop.
Save giseongeom/5439927 to your computer and use it in GitHub Desktop.
재귀를 이용한 stack limit 테스트 PowerShell v1 에서는 100이 최대였다고 한다.
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