Remove duplicate elements: Difference between revisions
Content added Content deleted
Line 45: | Line 45: | ||
set unique to {} |
set unique to {} |
||
repeat with i in array |
repeat with i in array |
||
⚫ | |||
-- very important -- list index starts at 1 not 0 |
|||
⚫ | |||
⚫ | |||
end if |
|||
⚫ | |||
end repeat |
|||
return unique</lang> |
|||
=={{header|AutoHotkey}}== |
=={{header|AutoHotkey}}== |