list of records
list of records
- Subject: list of records
- From: Frank Watzl <email@hidden>
- Date: Mon, 11 Dec 2000 22:14:09 +0100
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?
Thanks,
Frank