This object provides a way of storing more than one value for a given name. These values can be accessed by another index.
ContainsIndex
Array.ContainsIndex(array, index)
Gets whether or not the array contains the specified index. This is very useful when deciding if the array's index was initialized by some value or not.
array
The array to check.
index
The index to check.
Returns
"True" or "False" depending on if the index was present in the specified.
array.
ContainsValue
Array.ContainsValue(array, value)
Gets whether or not the array contains the specified value. This is very useful when deciding if the array's value was stored in some index.
array
The array to check.
value
The value to check.
Returns
"True" or "False" depending on if the value was present in the specified.
array.
GetAllIndices
Array.GetAllIndices(array)
Gets all the indices for the array, as another array.
array
The array whose indices are requested.
Returns
An array filled with all the indices of the specified array. The index of the returned array starts from 1.
GetItemCount
Array.GetItemCount(array)
Gets the number of items stored in the array.
array
The array for which the count is requested.
Returns
The number of items in the specified array.
IsArray
Array.IsArray(array)
Gets whether or not a given variable is an array.
array
The variable to check.
Returns
"True" if the specified variable is an array. "False" otherwise.
SetValue
Array.SetValue(arrayName, index, value)
Sets a value for a given array and index.
arrayName
The name of the array.
index
Name of the index.
value
The value to set.
Returns
Nothing
GetValue
Array.GetValue(arrayName, index)
Gets a value for a given array and index.
arrayName
The name of the array.
index
The name of the index.
Returns
The value at the specified index of the specified array.
RemoveValue
Array.RemoveValue(arrayName, index)
Removes the array item at the specified index.
arrayName
The name of the array.
index
The index of the item to remove.
Returns
Nothing