Public Class Form1
Dim a(3) As Integer
a(0) = 1 : a(2) = 2
' Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
'Dim a(3) As Integer
'a(0) = 1 : a(2) = 2 ' 在 Sub 过程 就 是 正确的
'End Sub
End Class
' 但 这里呢 ,则 出现 : a(0) = 1 应为声明。