This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function __func_array_insert(_array) { | |
var _length = argument_count-2; | |
var _index = argument[1]-1; | |
var _i = 1; | |
array_copy(_array,_index+_length, _array, _index, _length); | |
repeat(_length) { | |
_array[@ ++_index] = argument[++_i]; | |
} | |
} |