• 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: Whose-Filtering a Text List???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Whose-Filtering a Text List???


  • Subject: Re: Whose-Filtering a Text List???
  • From: Allen Watson <email@hidden>
  • Date: Wed, 10 Oct 2001 10:08:26 -0700

On Wed, 10 Oct 2001 03:28:27 -0700 Chris Page <email@hidden>
wrote:

> nigh on 2001.10.10 12:47 AM, Jim Deacutis at email@hidden wrote:
>
>> set reducedFileList to (every item in FileList whose first character is
>> not redoListTest) as list
>> --the result here is an error message like so:
>> --> Can't get {"Chs.", "OLs.", "Ch.", "OL."} whose character 1 * "O".
>
> If I'm reading this correctly, the problem is that you can't use "whose"
> with lists. Pity.
>
Right; you have to examine the items one at a time in a repeat loop, e.g.,

set reducedFileList to {}
repeat with anItem in FileList
If first character of anItem is not redoListTest then copy anItem to end of
reducedFileList
end repeat


  • Prev by Date: Re: Title Page in Tex-Edit Plus
  • Next by Date: RE: HelpPlease!!: Running Scripts causing Garbage characters.
  • Previous by thread: Re: Whose-Filtering a Text List???
  • Next by thread: Re: Whose-Filtering a Text List???
  • Index(es):
    • Date
    • Thread