Re: how to compare two lists without looping? possible?
Re: how to compare two lists without looping? possible?
- Subject: Re: how to compare two lists without looping? possible?
- From: Adam Bell <email@hidden>
- Date: Thu, 9 Feb 2006 17:08:09 -0400
The only way I can think of requires a loop, though not complex.
set found to {"
192.168.1.11", "
192.168.1.66"}
set mustHave to {"
192.168.1.11", "
192.168.1.66", "
192.168.1.34", "
192.168.1.44
"}
set missing to {}
repeat with anIP in mustHave
if anIP is not in found then set end of missing to contents of anIP
end repeat
missing --> {"
192.168.1.34
", "
192.168.1.44"}
On 2/9/06, demski <email@hidden
> wrote:Hi all,maybe easy, maybe not?
what I have: two lists
what would be the fastest way to create a list with the missing items like
feels like I would ahve to be close to it for its so easy, but...
greetz,
gruss, demski
Die Anderen · digitale mediendienstleistungen
Bellealliancestraße 58 b
·
20259 Hamburg
fon: 040 41 26 61 81
fax: 040 41 26 61 83
Deutsche Handelsvertretung der Bogtrykkeri Rosendahls / Esbjerg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (
--
Some minds remain open long enough for a truth to both enter and leave without processing.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden