Visual Basic Scripting Edition | 语言参考 |
创建了一个Do 循环,但未正确地建立循环。Do 循环以Do语句开始。下面演示了一个Do 循环的正确结构。
Do [{While | Until
}condition]
[statements]
[Exit Do]
[statements]
Loop
或者可以使用这个语法:
Do [statements] [Exit Do] [statements] Loop [{While | Until
}condition]
要纠正该错误
Do...Loop 语句 | Exit 语句 | For...Next 语句 | While...Wend 语句