VBSCRIPT的循环挺好理解的

80酷酷网    80kuku.com

  vbscript|循环

<html>
<head>
<title>
asp002
</title>
</head>
<body>
<script language='vbscript'>
For i=1 To 10
 Document.Write "第 " & i & " 次循环" & "
"
Next
document.write "<hr>"
Do While i > 1
 i=i-1
 Document.Write "最后 " & i & " 次循环" & "
"
Loop
</script>
</body>
</html>













分享到
  • 微信分享
  • 新浪微博
  • QQ好友
  • QQ空间
点击: