Insert - Array
Revision as of 21:28, 1 March 2018 by imported>Qazaaq (added category)
Member of: All Arrays
Inserts a new item to the array at the specified position, expanding it to fit.
Syntax[edit | edit source]
Function Insert(;/element type/; akElement, int aiLocation) native
Parameters[edit | edit source]
- akElement: The element to insert
- aiLocation: The location to put the item into
Return Value[edit | edit source]
None
Examples[edit | edit source]
; Insert "Hello" into the index 0 in the array
MyStringArray.Insert("Hello", 0)
; In this case, ["world"] would become ["Hello", "world"]