resize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added see also)
mNo edit summary
Line 14: Line 14:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


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



Revision as of 17:37, 29 August 2007


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:
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