From Bohemia Interactive Community
|
|
| (27 intermediate revisions by 12 users not shown) |
| Line 1: |
Line 1: |
| back to [[Scripting_Reference#.23|COMREF]]
| | #REDIRECT [[+]] |
| | |
| <h2 style="color:#000066">''' +''valuea'' '''</h2>
| |
| | |
| '''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]
| |
Latest revision as of 14:58, 6 February 2019