plus a: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
[[Category:Scripting Commands ArmA|#]]
[[Category:Scripting Commands ArmA|#]]


back to [[Scripting_Reference#.23|COMREF]]
back to [[Scripting_Reference#|COMREF]]


<h2 style="color:#000066">''' + ''valuea'' '''</h2>
<h2 style="color:#000066">''' + ''valuea'' '''</h2>

Revision as of 17:12, 21 April 2006


back to COMREF

+ valuea


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]