On or near 1/27/2001 7:44 AM, Paul Berkowitz at [EMAIL PROTECTED]
observed:
> I can't do this today, but I will look at it tomorrow. There's a lot of text
> parsing to be done.
What? We have to wait an entire day?? How awful! ;-)
Just a thought, Paul; one of the canned "sort" routines in some osax has
automatic removal of duplicates; I think that might prove useful here. But,
given that the lists will be fairly short most of the time (very likely less
than 50), an internal handler might be faster. I'm thinking of something
along the lines:
set aList to {1, 2, 3, 4, 3, 2, 3, 5, 7, 9, 33, 2}
set newList to {}
repeat with i from 1 to (count aList)
set anItem to item 1 of aList
set aList to rest of aList
if {anItem} is not in aList then set end of newList to anItem
end repeat
newList
-- {1, 4, 3, 5, 7, 9, 33, 2}--
Peace,
Allen Watson <[EMAIL PROTECTED]> XNS name: =Allen Watson
A Mac family since 1984 <http://home.earthlink.net/~allenwatson/>
Applescripts for Outlook Express and Entourage:
<http://homepage.mac.com/allenwatson/>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
To search the archives:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>