| Start | ||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Getting the Item Count of a Collection The number of items in a Syntax: Sample Usage: |
||||||||||||||||||||||||||||||||||||||||||||
Determining if a Key or Item Exists in a Collection KeysUnlike a Scripting.Dictionary (opens new window), a ItemsThe only way to determine if an item is contained in a |
||||||||||||||||||||||||||||||||||||||||||||
| Adding Items to a Collection Items are added to a Syntax:
Notes: Sample Usage: |
||||||||||||||||||||||||||||||||||||||||||||
| Removing Items From a Collection Items are removed from a Syntax:
Notes:
Sample Usage: |
||||||||||||||||||||||||||||||||||||||||||||
| Retrieving Items From a Collection Items can be retrieved from a Syntax:
Notes:
Sample Usage (Indexes): Sample Usage (Keys): Sample Usage (Alternate Syntax): Note that bang ( |
||||||||||||||||||||||||||||||||||||||||||||
| Clearing All Items From a Collection The easiest way to clear all of the items from a However, if there are multiple references to the In this case, the easiest way to clear the contents is by looping through the number of items in the RemarksA Feature Comparison with Arrays and Dictionaries
1 Only dynamic arrays can be resized, and only the last dimension of multi-dimensional arrays. 2 The underlying 3 Determined by the |
Read Article
https://develop.horje.com/learn/1434/reference