"+" 运算符

将两个表达式相加或合并。

语法:


Result = Expression1 + Expression2

参数:

Result」: 含有相加结果的任意数字表达式。

Expression1、Expression2」:要合并或相加的任意数字表达式。

示例:


Sub ExampleAddition1
    Print 5 + 5
End Sub
 
Sub ExampleAddition2
Dim iValue1 As Integer
Dim iValue2 As Integer
    iValue1 = 5
    iValue2 = 10
    Print iValue1 + iValue2
End Sub

请支持我们!