valuea plus valueb: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|#]]
[[Category:Scripting Commands|#]]
[[Category:Scripting Commands OFP 1.97|#]]
[[Category:Scripting Commands OFP 1.96|#]]
[[Category:Scripting Commands OFP 1.46|#]]
[[Category:Scripting Commands OFP 1.46|#]]
[[Category:Scripting Commands ArmA|#]]
[[Category:Scripting Commands ArmA|#]]

Revision as of 20:28, 1 June 2006


valuea + valueb

Operand types:

valuea: String or Array

valueb: String or Array

Type of returned value:

String or Array

Description:

valuea and valueb are concatenated


Example:

String concatentation - "I" + " am" + " blind" ..........Result is "I am blind"

Array concatenation - [0, 1, 2] + [1, 2, 3] ..........Result is [0, 1, 2, 1, 2, 3]