plus a: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 27: Line 27:
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|#]]
[[Category:Command_Group:_Variables]]

Revision as of 22:13, 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]