From Bohemia Interactive Community
|
|
(24 intermediate revisions by 12 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|#]] | |
| | |
| back to [[Scripting_Reference#.23|COMREF]]
| |
| | |
| <h2 style="color:#000066">''' + ''valuea'' '''</h2>
| |
| | |
| | |
| '''Operand types:'''
| |
| | |
| '''valuea:''' [[Number]] or [[Array]]
| |
| | |
| '''Type of returned value:'''
| |
| | |
| [[Number]] or [[Array]]
| |
| | |
| '''Description:'''
| |
| | |
| Unary plus - returns a copy of valuea.
| |
| | |
| | |
| '''Example:'''
| |
| | |
| Unary number - '''+'''4 ..........Result is 4
| |
| | |
| Unary array - '''+'''[0, 1, 2] ..........Result is [0, 1, 2]
| |
Latest revision as of 15:58, 6 February 2019