7 lines
179 B
Text
7 lines
179 B
Text
|
|
uniques = #(1, 2, 3, "a", "b", "c", 2, 3, 4, "b", "c", "d")
|
||
|
|
for i in uniques.count to 1 by -1 do
|
||
|
|
(
|
||
|
|
id = findItem uniques uniques[i]
|
||
|
|
if (id != i) do deleteItem uniques i
|
||
|
|
)
|