resize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (moved command to template)
Line 3: Line 3:
[[Category:Scripting Commands ArmA|RESIZE]]
[[Category:Scripting Commands ArmA|RESIZE]]


{{Command|= Comments
____________________________________________________________________________________________


<h2 style="color:#000066">'''''array'' resize ''count'''''</h2>
| ofpr |= Game name


|1.75|= Game version
____________________________________________________________________________________________


'''Operand types:'''
| Change array size. Can be used to add or remove elements from an array. |= Description
____________________________________________________________________________________________


'''array:''' [[Array]]
| array '''resize''' count |= Syntax


'''count:''' [[Number]]
|p1= array: [[Array]] |= Parameter 1


'''Type of returned value:'''
|p2= count: [[Number]] |= Parameter 2


[[Nothing]]
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>arrayOne resize 2</pre> |= Example 1
____________________________________________________________________________________________


'''Compatibility:'''
|  |= See also


Added in version '''1.75'''
}}


'''Description:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Change array size.
<!-- Note Section END -->
</dl>


Can be used to add or remove elements from an array.
<h3 style="display:none">Bottom Section</h3>
 
 
'''Example:'''
 
arrayOne '''resize''' 2

Revision as of 03:31, 3 August 2006


Hover & click on the images for description

Description

Description:
Change array size. Can be used to add or remove elements from an array.
Groups:
Uncategorised

Syntax

Syntax:
array resize count
Parameters:
array: Array
count: Number
Return Value:
Nothing

Examples

Example 1:
arrayOne resize 2

Additional Information

See also:
See also needed

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