回覆列表
-
1 # 十月與九月
-
2 # 使用者273899599
a 為variant b 為 integer
dim a as Integer ,b as Integer
定義a,b為整形變數
Dim a As Integer -說明a為整型變數
Dim b As String -說明b為可變長字元型變數
Dim c As String~~1 0 ’說明c為長度是10個字元的固定長字元型變數
Dim d(10)As Integer -說明d為一維整型陣列
Dim e()As Single -說明e為動態單精度變數
Static f As Integer ,說明f為靜態整型變數
ReDim e(10)As Single -說明e為一維單精度陣列
Global h As Integer -說明h為全域性整型變數
a 為variant b 為 integer
dim a as Integer ,b as Integer
定義a,b為整形變數
Dim a As Integer -說明a為整型變數
Dim b As String -說明b為可變長字元型變數
Dim c As String~~1 0 ’說明c為長度是10個字元的固定長字元型變數
Dim d(10)As Integer -說明d為一維整型陣列
Dim e()As Single -說明e為動態單精度變數
Static f As Integer ,說明f為靜態整型變數
ReDim e(10)As Single -說明e為一維單精度陣列
Global h As Integer -說明h為全域性整型變數