asp代码for循环问题
<%="100内整数和for循环介绍"%><%dimsamsam=0fori=1to100step1sam=sam+inextresponse.Write("theres...
<%="100内整数和for循环介绍"%>
<%
dim sam
sam=0
for i=1 to 100 step 1
sam=sam+i
next
response.Write("the result")
response.Write(sum)
%>100Ěջʽ?ͦorѭ???鉜the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result556
请问为什么??
显示的内容却是
还有,next作用是什么? 展开
<%
dim sam
sam=0
for i=1 to 100 step 1
sam=sam+i
next
response.Write("the result")
response.Write(sum)
%>100Ěջʽ?ͦorѭ???鉜the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result5565the result556
请问为什么??
显示的内容却是
还有,next作用是什么? 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询