Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
unique({1, 2, 3, "a", "b", "c", 2, 3, 4, "c", {b:"c"}, {"c"}, "c", "d"})
|
||||
|
||||
on unique(x)
|
||||
set R to {}
|
||||
repeat with i in x
|
||||
set i to i's contents
|
||||
if {i} is not in R then set end of R to i
|
||||
end repeat
|
||||
return R
|
||||
end unique
|
||||
Loading…
Add table
Add a link
Reference in a new issue