单选题 设有命令按钮 Command1 的单击事件过程,代码如下: Private Sub Command1_Click() Dim a(30) As Integer For i=1 To 30 a(i)=Int(Rnd*100) Next For Each arrItem In a If arrItem Mod 7=0 Then Print arrItem If arrItem>90 Then Exit For Next End Sub 对于该事件过程,以下叙述中错误的是______。
【正确答案】 B
【答案解析】For Each 语句的基本语法结构为:For Each 变量 In 数组 语句块Next [变量]本题中 For Each 语句没有语法错误。