valuea plus valueb: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
# | [[Category:Scripting Commands|#]] | ||
[[Category:Scripting Commands OFP 1.96|#]] | |||
[[Category:Scripting Commands OFP 1.46|#]] | |||
[[Category:Scripting Commands ArmA|#]] | |||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
____________________________________________________________________________________________ | |||
| valuea and valueb are concatenated |= Description | |||
____________________________________________________________________________________________ | |||
| '''valuea plus valueb''' |= Syntax | |||
|p1 =valuea: [[String]] or [[Array]] | |||
|p2 =valueb: [[String]] or [[Array]] | |||
|[[String]] or [[Array]] |= Return value | |||
____________________________________________________________________________________________ | |||
| x1= <code>[[String]] concatentation - "I" '''+''' " am" '''+''' " blind" </code> | |||
Result is "I am blind" | |||
|x2 = <code>[[Array]] concatenation - [0, 1, 2] '''+''' [1, 2, 3]</code> | |||
Result is [0, 1, 2, 1, 2, 3] | |||
| [[Operators]] |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Command_Group:_Variables|#]] |
Revision as of 16:53, 15 January 2007
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:
- Operators
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