Page tree
Skip to end of metadata
Go to start of metadata




Introduced in

Version:1.19

Description

Description:Pushes a stack (array) of elements onto the end of an array, and returns it. The array is also modified by reference. Similar to fn vbs arrayPush. However, it pushes the entire contents of an array, instead of only one item.

Syntax

Syntax:[array1, array2] call fn_vbs_arrayPushStack
Parameters:
  • array1: Array - First array.
  • array2: Array - Second array.
Return Value:Array - array1 is also modified by reference.

Warning

When using functions in VBS versions older than 3.4, certain limitations and requirements should be kept in mind - the main ones being that capitalization of the function name is crucial, and that #include "\vbs2\headers\function_library.hpp" has to be included in every script that utilizes it. More Category VBS Scripting Functions.

Examples

Examples:
_array = [[5,6,7], [8,[9],10]] call fn_vbs_arrayPushStack

Additional Information

See also: fn vbs arrayPush
Multiplayer: 
Problems: 

Notes