• 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: text item delimiters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: text item delimiters


  • Subject: Re: text item delimiters
  • From: Emile Schwarz <email@hidden>
  • Date: Fri, 20 Jan 2006 18:22:57 +0100



email@hidden wrote:
Date: Thu, 19 Jan 2006 20:09:22 -0700
From: Michelle Steiner <email@hidden>
Subject: Re: text item delimiters
To: Applescript Users <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed

On Jan 19, 2006, at 3:21 PM, Luther Fuller wrote:


Shouldn't it be ...
        set applescript's text item delimiters to {<blah>}

instead of ...
        set applescript's text item delimiters to <blah>


Theoretically, yes; in practice, it doesn't matter.


And what can matters is to store the original value - at the start of the code or just before changing its value - change its value to yours and set back the original value before quitting / accessing a method/function to avoid potential later troubles.

As a rule of thumb:

Store and Restore global values and your program will work better.

"Not storing / restoring global values in software is bad for your health and can kill" ;)


Cheers,

Emile

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: delayDialog
  • Next by Date: Re: delayDialog
  • Previous by thread: Re: text item delimiters
  • Next by thread: apologies for multiple messages
  • Index(es):
    • Date
    • Thread