plus a: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (#)
mNo edit summary
Line 34: Line 34:


[[Category:Scripting Commands|#]]
[[Category:Scripting Commands|#]]
[[Category:Scripting Commands OFP 1.99]]
[[Category:Scripting Commands OFP 1.96|#]]
[[Category:Scripting Commands OFP 1.96|#]]
[[Category:Scripting Commands OFP 1.46|#]]
[[Category:Scripting Commands OFP 1.46|#]]

Revision as of 09:23, 25 September 2014

Hover & click on the images for description

Description

Description:
Unary plus - returns a copy of valuea.
Groups:
Uncategorised

Syntax

Syntax:
+ valuea
Parameters:
valuea: Number or Array
Return Value:
Number or Array

Examples

Example 1:
Unary number - +4 Result is 4
Example 2:
Unary array - +[0, 1, 2] Result is [0, 1, 2]

Additional Information

See also:
Operators

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section