Dim ResValue1 As String
Dim ResValue2 As String
Dim ResValue3 As String
以上格式与下面不等价
Dim ResValue1,ResValue2,ResValue3 As String
第二种格式中只定义了,ResValue3为string 类型,而ResValue1,ResValue2,未定义
有时会出现“byref参数类型不符”报警
Dim ResValue1 As String
Dim ResValue2 As String
Dim ResValue3 As String
以上格式与下面不等价
Dim ResValue1,ResValue2,ResValue3 As String
第二种格式中只定义了,ResValue3为string 类型,而ResValue1,ResValue2,未定义
有时会出现“byref参数类型不符”报警