resize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 14: Line 14:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Array]] '''resize''' count |= Syntax
| arrayName '''resize''' count |= Syntax


|p1= count: [[Number]] |= Parameter 1
|p1= arrayName: [[Array]] |= Parameter 1
|p2= count: [[Number]] |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 15:58, 24 January 2009


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:
arrayName resize count
Parameters:
arrayName: Array
count: Number
Return Value:
Nothing

Examples

Example 1:
_arrayOne resize 2

Additional Information

See also:
Array

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