a plus b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(Redirect to +)
 
(35 intermediate revisions by 11 users not shown)
Line 1: Line 1:
back to [[Scripting_Reference#.23|COMREF]]
#REDIRECT [[+]]
 
<h2 style="color:#000066">''' ''a'' + ''b'' '''</h2>
 
 
'''Operand types:'''
 
'''a, b:''' both [[Number]] or [[String]] or [[Array]]
 
'''Type of returned value:'''
 
Either [[Number]] or [[String]] or [[Array]]
 
'''Description:'''
For numbers, '''a''' added to '''b'''. For strings, all the characters in a followed by all the charaters in '''b'''. For arrays, all the elements of '''a''' followed by all the elements of '''b'''<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]

Latest revision as of 15:58, 6 February 2019

Redirect to: