Re: Delete list item?
Re: Delete list item?
- Subject: Re: Delete list item?
- From: vectormation <email@hidden>
- Date: Wed, 24 Oct 2001 04:04:26 -0400
Here's quick (as in "off the top of my head...") handler
set myList to excludeList({"example"},myList)
on excludeList(xList,aList)
-- aList = {"alpha","beta","gamma","delta","epsilon"}
-- xList = {"beta","delta"}
-- exclude xList from aList
set rList to {}
repeat with dItem in aList
if xList contains dItem then
--delete it by ignoring it
else
set rList to rList & dItem
end if
return rList
end excludeList
>
How do I delete a list item?
>
Is Akua Sweets the only way to go?
>
>
Please reply to the list or directly to email@hidden
>
Thanks
>
/ Goran
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users