VBSCRIPT的循环挺好理解的
类别: ASP教程
<html>
<head>
<title>
asp002
</title>
</head>
<body>
<script language=\'vbscript\'>
For i=1 To 10
Document.Write "第 " & i & " 次循环" & "<br>"
Next
document.write "<hr>"
Do While i > 1
i=i-1
Document.Write "最后 " & i & " 次循环" & "<br>"
Loop
</script>
</body>
</html>
<head>
<title>
asp002
</title>
</head>
<body>
<script language=\'vbscript\'>
For i=1 To 10
Document.Write "第 " & i & " 次循环" & "<br>"
Next
document.write "<hr>"
Do While i > 1
i=i-1
Document.Write "最后 " & i & " 次循环" & "<br>"
Loop
</script>
</body>
</html>
- 上一篇: ASP中各种数据库连接代码
- 下一篇: ASP当中判断函数一览
-= 资 源 教 程 =-
文 章 搜 索