list
Internal v9 class used for managing JavaScript lists
Example:
let tmpList = new v9.list("tmpList");
Constructor Summary
Public Constructor | ||
public |
Method Summary
Public Methods | ||
public | Deletes a single item from the list at a specified index | |
public | Binarily searches for a matching item within the list | |
public | Returns a single item from the list from a specified index | |
public | ListRows(): * Returns the length of the list as a number | |
public | Inserts an item into the list at a specified index | |
public | ListTalk() Prints up to five list key value pairs | |
public | ListZero() Empties the list |
Public Constructors
public constructor() source
Public Methods
public ListDele(pEnum: number) source
Deletes a single item from the list at a specified index
Params:
Name | Type | Attribute | Description |
pEnum | number | The zero-based location in the array from which to start removing elements (Why is this called pEnum?) |
public ListFind(pItem: Object): number source
Binarily searches for a matching item within the list
Params:
Name | Type | Attribute | Description |
pItem | Object |
Return:
number |
public ListItem(pEnum: number): * source
Returns a single item from the list from a specified index
Params:
Name | Type | Attribute | Description |
pEnum | number | The zero-based location in the array from which to start removing elements (Why is this called pEnum?) |
Return:
* |
public ListSert(pEnum: number, pItem: *) source
Inserts an item into the list at a specified index
Params:
Name | Type | Attribute | Description |
pEnum | number | The zero-based location in the array from which to start removing elements (Why is this called pEnum?) | |
pItem | * | Element(s) to insert into the array in place of the deleted elements |
public ListTalk() source
Prints up to five list key value pairs
public ListZero() source
Empties the list