语句Dim S(10) As Integer的含义是
定义了11个整数构成的数组
举一反三
- VBA语句"Dim NewArray(10) as Integer"的含义是______。
- 下列语句错误的是( )。 A: Dim a(-10 To 5) As Integer B: Dim n as Integern=10Dim a(n) As Integer C: Const n As Integer = 5Dim a(5) As Integer D: Dim a%(10,-10 To -10)
- 下列程序中 s = s + j 语句共执行了______次。 Dim s As Integer Dim i As Integer, j As Integer For i = 1 To 10 Step 2 For j = 1 To 5 Step 2 s = s + j Next j Next i Print s
- 下面语句正确的是______。? Dim a(1) As Integer = {12}|Dim a(1) As Integer = {12, 12}|Dim a( ) As Integer = {12}|Dim a( ) As Integer = 0
- 语句: Structure MyStruct Dim No As Integer Dim Sex As Char End Structure Dim s(100) As MyStruct 以下叙述不正确的是( )
内容
- 0
语句: Structure MyStruct Dim No As Integer Dim Sex As Char End Structure Dim s(100) As MyStruct 以下叙述不正确的是( )
- 1
下列数组声明语句,正确的是()。 A: Dim a[3,4] As Integer B: Dim a(3 4) As Integer C: Dim a(n,n) As Integer D: Dim a(3,4) As Integer
- 2
下列数组声明语句,________是正确的。 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
- 3
如下数组声明语句,正确的是 A: Dim a[3,4]As Integer B: Dim a(3,4)As Integer C: Dim a(n,n) As Integer D: Dim a(3,4)%
- 4
如下数组声明语句,哪一个正确 ( ) A: Dim a[3,4] as Integer B: Dim a(3,4) As Integer C: Dim a(3;4) as Integer D: Dim a(3:4) As Integer