BIS fnc arrayPop: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Undo revision 236894 by R3vo (talk))
Tag: Undo
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 19: Line 19:
_removedElement = _array [[call]] [[BIS_fnc_arrayPop]]; {{codecomment|// _array is now [1,2,3] and _removedElement {{=}} 4}}</code>
_removedElement = _array [[call]] [[BIS_fnc_arrayPop]]; {{codecomment|// _array is now [1,2,3] and _removedElement {{=}} 4}}</code>


| [[deleteAt]], [[resize]]
|seealso= [[deleteAt]], [[resize]]
}}
}}



Revision as of 01:22, 17 February 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:
Return value needed

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