BIS fnc arrayPushStack: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
m (fixed code examples)
Line 19: Line 19:
Example:
Example:
array = [1,2,3]
array = [1,2,3]
[array, [4,5,6]] call BIS_fnc_arrayPush
[array, [4,5,6]] call BIS_fnc_arrayPushStack


array2 = [[5,6,7], [8,[9],10]] call BIS_fnc_arrayPush
array2 = [[5,6,7], [8,[9],10]] call BIS_fnc_arrayPushStack


array is now [1,2,3,4,5,6]
array is now [1,2,3,4,5,6]

Revision as of 16:49, 17 August 2014


Hover & click on the images for description

Description

Description:
/************************************************************
	Array Push Stack

This function is similar to the array push function; however,
it pushes the contents of an array onto the stack array.

Example:

Example:
array = [1,2,3]
[array, [4,5,6]] call BIS_fnc_arrayPushStack

array2 = [[5,6,7], [8,[9],10]] call BIS_fnc_arrayPushStack

array is now [1,2,3,4,5,6]
array2 is now [5,6,7,8,[9],10]
************************************************************/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

Additional Information

See also:
BIS_fnc_arrayPushpushBack

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