Open Menu
Close Menu
Apple
Shopping Bag
Apple
Mac
iPad
iPhone
Watch
TV
Music
Support
Search apple.com
Shopping Bag
Lists
Open Menu
Close Menu
Terms and Conditions
Lists hosted on this site
Email the Postmaster
Tips for posting to public mailing lists
Re: list of records
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Re: list of records
Subject
:
Re: list of records
From: Richard 23 <
email@hidden
>
Date: Mon, 11 Dec 2000 17:47:59 -0800
>
Hi,
>
>
I think this was discussed before, but unfortunately the list archives are
>
currently not searchable.
>
I am trying to check if a specific record is contained by a list:
>
>
set r to {FileType:"LINK", CreatorType:"MSIE"} -->record
>
set L to {{FileType:"LINK", CreatorType:"MSIE"}, "foo", {FileType:"PICT",
>
CreatorType:"8BIM"}} --> 3 item list
>
r is in L -->false **why not true?
>
r = item 1 of L -->true **aah!
>
>
Any Ideas why in the 3rd line the result is false?
>
How can I do the check without looping through the list?
{r} is in L -->true
R23
Follow-Ups
:
Re: list of records
From:
Bryan <email@hidden>
Prev by Date:
Re: Apple System Profiler
Next by Date:
Re: Apple System Profiler
Previous by thread:
Re: list of records
Next by thread:
Re: list of records
Index(es):
Date
Thread