InsertElements Function
- 업데이트 날짜:2025-07-21
- 1분 (읽기 시간)
InsertElements Function
Syntax
InsertElements(Array array, String index, Number numElements)
Return Value
This function always returns 0.
Purpose
This function inserts new elements into a one-dimensional array.
Parameters
array as Array
A single dimensional array.
index as String
The index at which to insert the new elements. You specify the array index as a string with the syntax "[x]", where x is an integer constant.
numElements as Number
The number of elements to insert. The values of the new elements are as follows: False for Booleans, zero for numbers,empty strings for strings, NULL references for references, and empty containers for containers.