The RemoveClones function removes all clones without deleting objects.
Syntax
Integer Array.RemoveClones(
Integer iStart = 0,
Integer iEnd = -1)
Integer iStart = 0,
Integer iEnd = -1)
Parameters
| iStart | Index of the first item. | Optional |
|---|---|---|
| iEnd | Index of the last item (excluded). -1: Last array item (included). | Optional |
Return value
The RemoveClones function returns the number of removed items.
Example
myArray.RemoveClones()