plus a: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Moved syntax notes out of the code area to avoid confusion)
(Redirect to +)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Command|= Comments
#REDIRECT [[+]]
____________________________________________________________________________________________
 
| ofp |= Game name
 
|1.00|= Game version
____________________________________________________________________________________________
 
| Unary plus - returns a copy of valuea. |= Description
____________________________________________________________________________________________
 
| ''' +''' valuea |= Syntax
|p1 = valuea: [[Number]] or [[Array]]
| [[Number]] or [[Array]] |= Return value
____________________________________________________________________________________________
|x1 = Unary number <code>'''+''' 4 </code>
Result is 4
 
|x2 = Unary array<code>'''+''' [0, 1, 2]</code>
Result is [0, 1, 2]
 
| [[Operators]] |= See also
 
}}
 
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
 
<!-- Note Section END -->
</dl>
 
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|#]]
[[Category:Scripting Commands OFP 1.99|#]]
[[Category:Scripting Commands OFP 1.96|#]]
[[Category:Scripting Commands OFP 1.46|#]]
[[Category:Scripting Commands ArmA|#]]
[[Category:Scripting Commands ArmA2|#]]
[[Category:Scripting Commands Arma 3|#]]
[[Category:Command_Group:_Math|#]]
[[Category:Command_Group:_Variables|#]]

Latest revision as of 14:58, 6 February 2019

Redirect to: