asp跳出循环的实现方式
[ 2013-01-07 15:46:05 | 作者: admin ]
i = 0
Do While (i < 5)
For j = 1 To 1
If (i = 3) Then Exit For
'MsgBox "I'm not 3, I'm " & i
'Do something else...
Next j
i = i + 1
Loop
Do While (i < 5)
For j = 1 To 1
If (i = 3) Then Exit For
'MsgBox "I'm not 3, I'm " & i
'Do something else...
Next j
i = i + 1
Loop
[最后修改由 admin, 于 2013-01-07 15:47:20]

这篇日志没有评论。
此日志不可发表评论。