Code: Select all
Array_Insert (out array Ar, int Offset, optional int Count)
Array_Remove (out array Ar, int Offset, optional int Count)
Array_Size (out array Ar, optional int SetSize)Code: Select all
Array_Insert (out array Ar, int Offset, optional int Count)
Array_Remove (out array Ar, int Offset, optional int Count)
Array_Size (out array Ar, optional int SetSize)
Code: Select all
var() Array RandomDigits;
function MyFunction()
{
local int ArraySize;
Array_Insert(RandomDigits, 0, 5); //Add 5 empty entries at position [0] and onward.
ArraySize = Array_Size(RandomDigits, 20); //Returns the Array's size, optionally changes the size to 20?
Array_Remove(RandomDigits, 5, 15); //Remove 15 entries at position [5] and onward.
}