'For语句
'语法:
'For 初始变量 to 变量终止值 [step步长]
'执行代码
'……
'Next
'说明:默认步长值为1
'response.Write("第一次循环<br>")
response.Write("第"&i&"次循环<br>")
'response.Write(i)
next
%>
for i=1 to 10 step 2
response.Write(i&"<br>")
next
%>
for i=5 to 1 step -1
response.Write(i&"<br>")
next '相当于i=i+1
%>
for a=1 to 5 '外层循环
response.Write("第"&a&"次循环<br>")
for i=1 to 5'内层循环
response.Write(i&"<br>")
next
next