From Xojo Documentation
Removes the specified element of a collection. Index is 1-based.
This code removes the first element.
Removes the element of a collection specified by the value of its Key.
If you want to use the Item or Remove methods to refer to an item, use parentheses around the parameter passed to the method. This is because the compiler doesn't know which data type you are passing. For example, use