BIS fnc arrayInsert: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Function " to "{{RV|type=function ")
m (Text replacement - " " to " ")
Line 21: Line 21:
|x1= <code>_result = [<nowiki/>[0,1,2,3,4], ["a","b","c"], 1] [[call]] [[BIS_fnc_arrayInsert]]; {{codecomment|// returns [0,"a","b","c",1,2,3,4]}}</code>
|x1= <code>_result = [<nowiki/>[0,1,2,3,4], ["a","b","c"], 1] [[call]] [[BIS_fnc_arrayInsert]]; {{codecomment|// returns [0,"a","b","c",1,2,3,4]}}</code>
}}
}}





Revision as of 22:57, 31 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Arrays

Syntax

Syntax:
Syntax needed
Parameters:
array1: Array - array to insert into
array2: Array - array to be inserted
index: Number - insertion index
Return Value:
Return value needed

Examples

Example 1:
_result = [[0,1,2,3,4], ["a","b","c"], 1] call BIS_fnc_arrayInsert; // returns [0,"a","b","c",1,2,3,4]

Additional Information

See also:
See also needed

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