asp For Next语句实例
<html>
<head>
<title>for next语句实例example25</title>
</head>
<body>
<%
dim filename '图片文件名
for i = 9 to 0 step -2 '用图片显示生成的随机数的每个数字
filename="<img src=image/"&i&".gif>" '图片文件名
response.write filename '在网页上显示图片
next
%>
</body>
</html>
实例二
<html>
<head>
<title>for next语句实例example24</title>
</head>
<body>
<%
dim filename '图片文件名
for i=0 to 9 step 2 '用图片显示生成的随机数的每个数字
filename="<img src=image/"&i&".gif>" '图片文件名
response.write filename '在网页上显示图片
next
%>
</body>
</html>
您可能感兴趣的文章:
asp For Next 循环语句语法与实例
asp For Each语句实例
php和asp语法上的区别是什么
asp For Next语句实例
asp exit用法与exit实例教程
ASP脚本循环语句
on error goto与try catch语句介绍
VBScript 循环语句
on error resume next错误处理的用法介绍
使用循环语句