plus a: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 26: Line 26:


Unary array - '''+'''[0, 1, 2] ..........Result is [0, 1, 2]
Unary array - '''+'''[0, 1, 2] ..........Result is [0, 1, 2]
[[Category:Command_Group:_Math]]
[[Category:Command_Group:_Variables]]

Revision as of 20:23, 9 August 2006


+ 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]