resize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|R]]
[[Category:Scripting Commands ArmA|R]]


back to [[Scripting_Reference#R|COMREF]]


<h2 style="color:#000066">'''''array'' resize ''count'''''</h2>
<h2 style="color:#000066">'''''array'' resize ''count'''''</h2>

Revision as of 12:06, 23 April 2006


array resize count


Operand types:

array: Array

count: Number

Type of returned value:

Nothing

Compatibility:

Added in version 1.75

Description:

Change array size.

Can be used to add or remove elements from an array.


Example:

arrayOne resize 2