• 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: TIDs case insensitive?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TIDs case insensitive?


  • Subject: Re: TIDs case insensitive?
  • From: Chris Nebel <email@hidden>
  • Date: Thu, 08 Mar 2001 16:32:30 -0800
  • Organization: Apple Computer, Inc.

Shane Stanley wrote:

> Wouldn't it be preferable to just set the default to the way it is? That
> might save you a lot of email in the long run ;-)

Good thought, but unfortunately the default for all other string operations is
to ignore case, so your suggestion would introduce a different inconsistency.
I'm betting that letter-based delimiters are rare enough that we can take the
hit, but it's at least a release or two away in any case.

Arthur J Knapp wrote:

> Just to add my two cents, I kind of think that a larger issue
> is being skirted around here. The incentive to add functionality
> to the text item delimiters is based upon the fact that so many
> of us rely upon them as a work-around for the lack of proper
> string commands.
>
> If AppleScript strings had built-in methods for searching,
> replacing, case-changeing, and/or finding an index, this question
> of improving the tids wouldn't even be an issue.
>
> Rather than improve the ability to perform a kludge,
> let's improve AppleScript's core functionality. :)

I mostly agree with you, but I draw a different conclusion. I'd like
AppleScript to be more consistent. One of the current inconsistencies is that
ignoring/considering don't work on all text operations. Another inconsistency
is that strings aren't mutable. A third is that the really interesting key
forms like "whose" don't work on built-in objects (i.e. lists, records,
strings), only on application objects. If I had to pick an order to fix them
in (which I do), it'd be 2, 3, 1. So I plan to (eventually) fix TIDs, but
it'll come after the more fundamental features. Satisfactory?


--Chris Nebel
AppleScript Engineering

P.S.: Sorry about the doubled post earlier, but I didn't see the first one come
through until today. In fact, I still seem to be stuck in some sort of time
warp -- I'm getting a bunch of applescript-users messages dated Wednesday. Is
anyone else seeing this?


  • Follow-Ups:
    • Re: TIDs case insensitive?
      • From: Shane Stanley <email@hidden>
References: 
 >Re: TIDs case insensitive? (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Photoscripter open EPS Generic
  • Next by Date: syntax question
  • Previous by thread: Re: TIDs case insensitive?
  • Next by thread: Re: TIDs case insensitive?
  • Index(es):
    • Date
    • Thread