下面的数组声明语句中,正确的是_____。
A: Dim a[1,2] As Integer
B: Dim a(1,2) As Integer
C: Dim a[1] [2] As Integer
D: Dim a(1 to 0,2 to 0) As Integer
A: Dim a[1,2] As Integer
B: Dim a(1,2) As Integer
C: Dim a[1] [2] As Integer
D: Dim a(1 to 0,2 to 0) As Integer
举一反三
- 下面语句正确的是______。? Dim a(1) As Integer = {12}|Dim a(1) As Integer = {12, 12}|Dim a( ) As Integer = {12}|Dim a( ) As Integer = 0
- 下列数组声明语句,________是正确的。 A: Dim a(2,3) As Integer B: Dim a(m,n) As Integer C: Dim a(2 3) As Integer D: Dim a[3,2] As Integer
- 在窗体模块的通用声明段有Option Base 1语句,以下不能正确定义1个4×3数组的语句是( ) A: Dim a (-2 To 1,3) As Integer B: Dim a (3,2) As Integer C: Dim a (4,3) As Integer D: Dim a(-4 To -1,-3 To -1) As Integer
- 已知:Option Base 0,Dim a() As Integer, Dim b(-1 to 2) As Integer,如果执行 a = b ,则数组a的下界是
- 下列数组声明正确的是( )。 A: n=5 Dim a(1 to n) As Integer B: Dim a(10) As Integer ReDim a(1 To 12) C: Dim a() As Single ReDim a(3,4) As Integer ReDim a(1 to n)As Integer D: Dim a() As Integer n=5