• 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: Considering case...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Considering case...


  • Subject: Re: Considering case...
  • From: Bill Cheeseman <email@hidden>
  • Date: Sun, 23 Feb 2014 05:27:39 -0500


On Feb 22, 2014, at 7:59 PM, Shane Stanley <email@hidden> wrote:

On 23 Feb 2014, at 7:02 am, Bill Cheeseman <email@hidden> wrote:

I've never seen this documented or discussed before, and I don't know what the reason for designing it this way was. 

I doubt that it was designed at all in the sense of being a separate AppleScript function -- it's just returning what the underlying Cocoa string methods (compare: and caseInsensitiveCompare:) return. Can you think of any app or part of the OS that doesn't use lexical sorting?

Now that you mention it, that makes all the sense in the world. I'm so used to working with ASCII values that I never thought about it this way. After spending a little time with Google, I found the Wikipedia article about "Alphabetical order" helpful: <http://en.wikipedia.org/wiki/Alphabetical_order>.

-- 

Bill Cheeseman - email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Considering case...
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Considering case... (From: Bill Cheeseman <email@hidden>)
 >Re: Considering case... (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Considering case...
  • Next by Date: Re: AppleScripts that I have come to love no longer work
  • Previous by thread: Re: Considering case...
  • Next by thread: Re: Considering case...
  • Index(es):
    • Date
    • Thread