From Bohemia Interactive Community
|
|
(30 intermediate revisions by 16 users not shown) |
Line 1: |
Line 1: |
| [[Category:Scripting Commands|#]]
| | #REDIRECT [[-]] |
| [[Category:Scripting Commands OFP 1.97|#]]
| |
| [[Category:Scripting Commands OFP 1.46|#]]
| |
| [[Category:Scripting Commands ArmA|#]]
| |
| | |
| | |
| <h2 style="color:#000066">''' ''a'' - ''b'' '''</h2>
| |
| | |
| | |
| '''Operand types:'''
| |
| | |
| '''a:''' [[Number]] or [[Array]]
| |
| | |
| '''b:''' [[Number]] or [[Array]]
| |
| | |
| '''Type of returned value:'''
| |
| | |
| [[Number]] or [[Array]]
| |
| | |
| '''Description:'''
| |
| | |
| For numbers: '''a''' minus '''b'''.
| |
| | |
| For arrays: Contents of array '''b''' removed from array '''a'''.<br>
| |
| '''See also.''' [[Array]]
| |
| | |
| | |
| '''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 00:26, 7 February 2019