plus a: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
back to [[Scripting_Reference#.23|COMREF]]
back to [[Scripting_Reference#.23|COMREF]]


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





Revision as of 20:37, 17 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]