"+" Operator

Adds or combines two expressions.

Syntax:


Result = Expression1 + Expression2

Parameters:

Result: A numeric variable that will contain the result of the addition.

Expression1, Expression2: Expressions that you want to combine or to add.

Example:


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

Please support us!