plus a: Difference between revisions
Jump to navigation
Jump to search
m (Added to category `Math`) |
m (Moved syntax notes out of the code area to avoid confusion) |
||
Line 14: | Line 14: | ||
| [[Number]] or [[Array]] |= Return value | | [[Number]] or [[Array]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1 = <code> | |x1 = Unary number <code>'''+''' 4 </code> | ||
Result is 4 | Result is 4 | ||
|x2 = <code> | |x2 = Unary array<code>'''+''' [0, 1, 2]</code> | ||
Result is [0, 1, 2] | Result is [0, 1, 2] | ||
Revision as of 04:14, 3 February 2018
Description
- Description:
- Unary plus - returns a copy of valuea.
- Groups:
- Uncategorised
Syntax
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Command Group: Math
- Command Group: Variables