Visual Basic Scripting Edition | 语言参考 |
创建一个For Each...Next 块,但在第一行未包括关键词In 。下面演示了For Each...Next 块的正确结构。
For Eachelement In
group
[
statements]
[
Exit For]
[
statements]
Next[
element]
要纠正该错误
For Each...Next 语句 | Do...Loop 语句 | Exit 语句 | For...Next 语句 | While...Wend 语句