a plus b: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 19: | Line 19: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|''' ' | | a '''+''' b |= Syntax | ||
|p1 = a: [[Number]], [[String]] or [[Array]] | |p1 = a: [[Number]], [[String]] or [[Array]] |
Revision as of 20:59, 21 January 2009
Description
- Description:
- For numbers: a added to b. For strings: All the characters in a and the characters in b are added together. For arrays: Contents of a and the contents of b are added together.
- Groups:
- Uncategorised
Syntax
- Syntax:
- a + b
- Parameters:
- a: Number, String or Array
- b: Number, String or Array
- Return Value:
- Number, String or Array
Examples
- Example 1:
Number
_result is 3
_result = 1 + 2- Example 2:
String
_result is "Hello"
_result = "He" + "llo"- Example 3:
Array
_result is [1,2]
_result = [1] + [2]
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note