递归:函数自己调用自己
<%
function selfCall(n)
if n>0 then
selfCall=selfCall(n-1)*n
else
selfCall=1
end if
end function
response.write "5!="&selfCall(5)
%>
运行结果: 5!=120
递归:函数自己调用自己
<%
function selfCall(n)
if n>0 then
selfCall=selfCall(n-1)*n
else
selfCall=1
end if
end function
response.write "5!="&selfCall(5)
%>
运行结果: 5!=120