procedure DeleteValue(Index: integer);
Description
Removes the value at the position given by the Index parameter. DeleteValue frees the object in addition to removing it from the list.
Call DeleteValue to remove the value at a specific position from the list. The index is zero-based, so the first item has an Index value of 0, the second item has an Index value of 1, and so on. Calling DeleteValue moves up all items in the Values array that follow the deleted item, and reduces the ValueCount.