a - b: Difference between revisions
Jump to navigation
Jump to search
m (cond minus moved to a - b) |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Scripting Commands|#]] | |||
[[Category:Scripting Commands OFP 1.97|#]] | |||
[[Category:Scripting Commands OFP 1.46|#]] | |||
[[Category:Scripting Commands ArmA|#]] | |||
back to [[Scripting_Reference#.23|COMREF]] | back to [[Scripting_Reference#.23|COMREF]] |
Revision as of 15:27, 21 April 2006
back to COMREF
a - b
Operand types:
Type of returned value:
Description:
For numbers: a minus b.
For arrays: Contents of array b removed from array a.
See also. Array
Examples:
Number
_sum = 10 - 7 ............ _sum is 3
Array
_result = [1,2,2,player,"String"] - [2,player,player,"String"] ............ _result is [1]