From Bohemia Interactive Community
|
|
(22 intermediate revisions by 9 users not shown) |
Line 1: |
Line 1: |
| [[Category:Scripting Commands|#]]
| | #REDIRECT [[+]] |
| [[Category:Scripting Commands OFP 1.96|#]]
| |
| [[Category:Scripting Commands OFP 1.46|#]]
| |
| [[Category:Scripting Commands ArmA|#]]
| |
| | |
| | |
| <h2 style="color:#000066">''' ''a'' + ''b'' '''</h2>
| |
| | |
| | |
| '''Operand types:'''
| |
| | |
| '''a:''' [[Number]], [[String]] or [[Array]]
| |
| | |
| '''b:''' [[Number]], [[String]] or [[Array]]
| |
| | |
| '''Type of returned value:'''
| |
| | |
| [[Number]], [[String]] or [[Array]]
| |
| | |
| '''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.<br>
| |
| | |
| '''See also.''' [[Array]]
| |
| | |
| | |
| '''Examples:'''
| |
| | |
| [[Number]]<br>_result = 1 '''+''' 2 ........ _result is 3 | |
| | |
| | |
| [[String]]<br>_result = "He" '''+''' "llo" ........ _result is "Hello"
| |
| | |
| | |
| [[Array]]<br>_result = [1] '''+''' [2] ........ _result is [1,2]
| |
| | |
| [[Category:Command_Group:_Math]]
| |
| [[Category:Command_Group:_Variables]]
| |
Latest revision as of 15:58, 6 February 2019