Name | Description |
---|---|
roArray | An array stores an indexed collection of BrightScript objects. Each entry of an array can be a different type, or they may all of the same type |
roByteArray | The byte array component is used to contain and manipulate an arbitrary array of bytes |
roList | The list object implements the interfaces: ifList, ifArray, ifEnum and therefore can behave like an array that can dynamically add members |
roXMLList | Contains a list of roXML objects |
Returns the last (highest index) array entry without removing it. If the array is empty, returns invalid
Invalid
Returns the last entry (highest index) from the array and removes it from the array. If the array is empty, returns invalid and does not change the array.
The last (highest index) array entry.
Adds the specified value to the end of the array.
Name | Type | Description |
---|---|---|
tvalue | Dynamic | The value to be added to the end of the array. |
Removes the first entry (zero index) from the beginning of the array and shifts the other entries up. This method is similar to the Pop method, but removes the first entry in the array instead of the last one.
The first entry (zero index) removed from the array.
Adds the specified value to the beginning of the array (at the zero index) and shifts the other entries down. This method is similar to the Push method, but adds the new entry to the beginning of the array instead of to the end.
Name | Type | Description |
---|---|---|
tvalue | Dynamic | The value to be added to the beginning of the array. |
Deletes the indicated array entry, and shifts all entries up. This decreases the array length by one.
A flag indicating whether the specified array entry has been removed. If the entry was successfully deleted, returns true. If index is out of range, returns false and does not change the array.
Returns the length of the array, which is one more than the index of highest entry.
The length of the array.
Deletes all the entries in the array.
Appends the entries in one roArray to another. If the passed array contains entries that have not been set to a value, they are not appended.
Name | Type | Description |
---|---|---|
array | Object | The roArray to be appended to the target array. |