• 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
list of records
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: list of records
      • From: Paul Berkowitz <email@hidden>
    • Re: list of records
      • From: Bryan <email@hidden>
  • Prev by Date: Re: Pathnames derived from variables
  • Next by Date: Re: scripting Photoshop
  • Previous by thread: Re: Pathnames derived from variables
  • Next by thread: Re: list of records
  • Index(es):
    • Date
    • Thread