valuea plus valueb: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (moved to template)
Line 4: Line 4:
[[Category:Scripting Commands ArmA|#]]
[[Category:Scripting Commands ArmA|#]]


{{Command|= Comments
____________________________________________________________________________________________


<h2 style="color:#000066">'''''valuea'' + ''valueb'''''</h2>
| ofp |= Game name


'''Operand types:'''
|1.00|= Game version
____________________________________________________________________________________________


'''valuea:''' [[String]] or [[Array]]
| valuea and valueb are concatenated |= Description
____________________________________________________________________________________________


'''valueb:''' [[String]] or [[Array]]
| '''valuea plus valueb''' |= Syntax


'''Type of returned value:'''
|p1 =valuea: [[String]] or [[Array]]


[[String]] or [[Array]]
|p2 =valueb: [[String]] or [[Array]]


'''Description:'''
|[[String]] or [[Array]]  |= Return value
____________________________________________________________________________________________
| x1= <code>[[String]] concatentation - "I" '''+''' " am" '''+''' " blind" </code>
Result is "I am blind"


valuea and valueb are concatenated
|x2 = <code>[[Array]] concatenation - [0, 1, 2] '''+''' [1, 2, 3]</code>
Result is [0, 1, 2, 1, 2, 3]


|  |= See also


'''Example:'''
}}


[[String]] concatentation - "I" '''+''' " am" '''+''' " blind" ..........Result is "I am blind"
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


[[Array]] concatenation - [0, 1, 2] '''+''' [1, 2, 3] ..........Result is [0, 1, 2, 1, 2, 3]
<!-- Note Section END -->
</dl>
 
<h3 style="display:none">Bottom Section</h3>


[[Category:Command_Group:_Variables|#]]
[[Category:Command_Group:_Variables|#]]

Revision as of 04:14, 12 August 2006


Hover & click on the images for description

Description

Description:
valuea and valueb are concatenated
Groups:
Uncategorised

Syntax

Syntax:
valuea plus valueb
Parameters:
valuea: String or Array
valueb: String or Array
Return Value:
String or Array

Examples

Example 1:
String concatentation - "I" + " am" + " blind" Result is "I am blind"
Example 2:
Array concatenation - [0, 1, 2] + [1, 2, 3] Result is [0, 1, 2, 1, 2, 3]

Additional Information

See also:
See also needed

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

Notes

Bottom Section