a - b: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(#REDIRECT -)
 
(41 intermediate revisions by 17 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 [[Array]]
 
'''Type of returned value:'''
 
Either [[Number]] or [[Array]]
 
'''Description:'''
 
For numbers, '''a''' minus '''b'''. For arrays, everything that is in '''a''' that is not in '''b'''
 
 
'''Examples:'''
 
Number<br>_sum = 10 '''-''' 7 ............ _sum is 3
 
Array<br>_result = [1,2,2,[[player]],"String"] '''-''' [2,[[player]],[[player]],"String"] ............ _result is [1]

Latest revision as of 23:26, 6 February 2019

Redirect to: