response.Write(curpage) '2
response.Write(thePageCount) '3
'这前面输入的是 2 ,3
if curPage > thePageCount then
curPage = thePageCount
end if
response.Write(curpage) '3
response.End()
...全文
1016打赏收藏
这段代码的运行结果是多少?我被搞晕了!
response.Write(curpage) '2 response.Write(thePageCount) '3 '这前面输入的是 2 ,3 if curPage > thePageCount then curPage = thePageCount end if response.Write(curpage) '3 response.End()
dim curpage,thePageCount
curpage=2
thePageCount=3
response.Write(curpage)
response.Write(thePageCount)
if curpage > thePageCount then
curpage = thePageCount
end if
response.Write(curpage)
response.End()
-----------
注意重复的变量
这样看看吧。