BIS fnc arrayPop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " +" to " ")
Line 29: Line 29:
|seealso= [[deleteAt]], [[resize]]
|seealso= [[deleteAt]], [[resize]]
}}
}}


[[Category:{{Name|arma2}}: Functions|{{uc:arrayPop}}]]
[[Category:{{Name|arma2}}: Functions|{{uc:arrayPop}}]]

Revision as of 23:02, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Arrays

Syntax

Syntax:
Syntax needed
Parameters:
array: Array
Return Value:
Anything - the removed array element

Examples

Example 1:
_array = [1,2,3,4]; _removedElement = _array call BIS_fnc_arrayPop; // _array is now [1,2,3] and _removedElement = 4

Additional Information

See also:
deleteAtresize

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