VBSCRIPT的循环挺好理解的

发表于:2007-06-30来源:作者:点击数: 标签:

<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>

原文转自:http://www.ltesting.net