软件教程

用VBSCRIPT实现简单循环的实例

来源: 本站    类别: 软件教程    日期: 2016/5/3

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

相关文章


Copyright © 2004 - 2024 CNHWW Inc. All Rights Reserved
石家庄市征红网络科技有限公司版权所有 邮政编码:050051
服务电话:0311-85315152 13931185013 在线客服QQ:81447932 / 81447933 邮箱: cnhww@163.com