Jump to content
Main menu
Main menu
move to sidebar
hide
Social
Discord
Facebook
Twitter
Explore
Languages
Tasks
Random page
Rosetta Code
Search
Search
Create account
Log in
Personal tools
Dark mode
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Remove duplicate elements: Difference between revisions
Page
Discussion
English
Read
View source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
View source
View history
Refresh
General
What links here
Related changes
Special pages
Page information
Get shortened URL
Help
Content added
Content deleted
Inline
Revision as of 01:05, 19 February 2010
(
view source
)
rosettacode>Daehl
m
(
→{{header|AppleScript}}
)
← Older edit
Revision as of 01:07, 19 February 2010
(
view source
)
rosettacode>Daehl
(
→{{header|AppleScript}}
)
Newer edit →
Line 45:
set unique to {}
repeat with i in array
if
(
i is not in unique
)
then
▼
-- very important -- list index starts at 1 not 0
set end of unique to i
's contents
▼
▲
if (i is not in unique) then
end if
▲
set end of unique to i
end
if
repeat
end
return
repeat
unique
</lang>
=={{header|AutoHotkey}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
More information
OK
Toggle limited content width