• 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: Jim Deacutis <email@hidden>
  • Date: Wed, 10 Oct 2001 03:47:02 -0400

Pls disregard the previous mess and read this script instead.

I'm having trouble with the syntax of a "whose" filter.

What am I doing wrong??
And what does the error message mean??

!!!!!!!!!!!!!!!!! Thank you in advance !!!!!!!!!!!!!

The script segment is below:

set redoList to "OL"
set doThese to true
set doThose to true
set FileList to {} as list

--doThese, doThose can each be true or false, independently
if doThese then
set FileList to FileList & {"Chs.", "OLs."} as list
end if
if doThose then
set FileList to FileList & {"Ch.", "OL."} as list
end if

set redoListTest to character 1 in redoList
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".


  • Follow-Ups:
    • Re: Whose-Filtering a Text List???
      • From: Chris Page <email@hidden>
References: 
 >Whose-Filtering a Text List??? (From: Jim Deacutis <email@hidden>)

  • Prev by Date: Whose-Filtering a Text List???
  • Next by Date: Working with a text selection in Quark
  • Previous by thread: Whose-Filtering a Text List???
  • Next by thread: Re: Whose-Filtering a Text List???
  • Index(es):
    • Date
    • Thread