• 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: Why save text item delimiters? Philosophical question....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why save text item delimiters? Philosophical question....


  • Subject: Re: Why save text item delimiters? Philosophical question....
  • From: David Crowe <email@hidden>
  • Date: Wed, 18 Jun 2003 08:58:39 -0600

Thanks to everyone for their discussion of this issue ... very enlightening (particularly the "Story of Mel").

I've concluded that I'm neither right nor wrong. That there's a time to save and restore, and there's lots of times when that's a waste of time. Basically, you've got to know what you're doing and design carefully.

The real flaw, I think, is that the "text item delimiters" are essentially a global variable.

A syntax like :
set ls to text items of theString using "," as text item delimiters

would completely eliminate the problem (and this discussion).

[And Jon Pugh's reminder that "...as string" uses the text item delimiters emphasizes the flaw, and also how setting the text item delimiters back again might not do any good if you don't do it soon enough!]

It would also be compatible with the current usage (i.e. specifying it would override the global text item delimiters).

- David Crowe
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Why save text item delimiters? Philosophical question....
      • From: Andrew <email@hidden>
    • Re: Why save text item delimiters? Philosophical question....
      • From: Emmanuel <email@hidden>
  • Prev by Date: Path string interpretation with 'as alias'
  • Next by Date: Re: Path string interpretation with 'as alias'
  • Previous by thread: Re: Why save text item delimiters? Philosophical question....
  • Next by thread: Re: Why save text item delimiters? Philosophical question....
  • Index(es):
    • Date
    • Thread