+
| Syntax |
expression1 + expression2
|
| Action |
The arithmetic addition operator yields the sum of the values of expression1 and expression2.
|
| Examples |
1 + 1 » 2
UserTalk can add one and one with great facility!
The addition operator can be used to concatenate strings.
|
| Notes |
UserTalk employs automatic type coercion when evaluating arithmetic and comparative operations; the two expressions need not be of the same type to be added together. Generally, the resulting type - which determines the method of addition - is the more complex type, the one that can most readily represent both values.
|
| See Also |
-
|