"+" Operator

๋‘ ๊ฐœ์˜ ์‹์„ ๋”ํ•˜๊ฑฐ๋‚˜ ๊ฒฐํ•ฉํ•ฉ๋‹ˆ๋‹ค.

๊ตฌ๋ฌธ:

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