• 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: Alphabetizing a List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alphabetizing a List


  • Subject: Re: Alphabetizing a List
  • From: Emmanuel <email@hidden>
  • Date: Mon, 28 May 2001 14:19:17 +0200

I got caught with this old trap.

I posted a "on sort(l)" handler a few hours ago.

Its first line should read

------------------------------
if length of l <= 1 then return l
------------------------------

This is: "length of l lower than or equal to 1".

NOT (as NG's thorough eyes kindly noticed):

------------------------------ erroneous -- erroneous -- erroneous -- erroneous
if length of l > 1 then return l
------------------------------

I originally used the special "lower than or equal to" character (on the
French keyboard, it's option-<), but unfortunately it translates (on
ASUsers) into its exact contrary, i.e. greater than ">" !!!

Best regards,
Emmanuel


  • Prev by Date: Re: Alphabetizing a List
  • Next by Date: scripting additions folder location?
  • Previous by thread: Re: Alphabetizing a List
  • Next by thread: Font Suitcasing
  • Index(es):
    • Date
    • Thread