• 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: String works, variable that's a string does not.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: String works, variable that's a string does not.


  • Subject: Re: String works, variable that's a string does not.
  • From: Lorin Rivers <email@hidden>
  • Date: Wed, 28 Apr 2004 22:46:35 -0500

On Apr 28, 2004, at 5:59 PM, Michelle Steiner wrote:


On Apr 28, 2004, at 3:45 PM, Lorin Rivers wrote:

"Set text_returned to text_returned as string" will not do it, even though it appears to make the change. here is a work around that works:


Thanks. Jeez, AppleScript, the Read-Only Programming Language

That's not really the language's fault, but is a somewhat nasty side effect of the changing of operating systems and text handling, I think.


Hang on a second. You're telling me that "foo" <> "foo" is not the languages fault? And that a work around that involves crawling through the string character-by-character converting it from unicode (which it ain't, or shouldn't be) to ascii being the solution, is also not the language's fault. OK, it's not the language's fault, it's the fault of the people who write and maintain the language.

Don't get me wrong. I genuinely appreciate your help, and I know that you, personally, provide I great deal of help here. Also, know that I love AppleScript as a tool. I just wish it were easier to write...

But don't be an apologist. It should not be necessary to convert a string to a string and even if it were, saying foo as string should be sufficient.
_______________________________________________
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: String works, variable that's a string does not.
      • From: Michelle Steiner <email@hidden>
    • Re: String works, variable that's a string does not.
      • From: "John C. Welch" <email@hidden>
References: 
 >String works, variable that's a string does not. (From: Lorin Rivers <email@hidden>)
 >Re: String works, variable that's a string does not. (From: Michelle Steiner <email@hidden>)
 >Re: String works, variable that's a string does not. (From: Lorin Rivers <email@hidden>)
 >Re: String works, variable that's a string does not. (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: String works, variable that's a string does not.
  • Next by Date: Re: String works, variable that's a string does not.
  • Previous by thread: Re: String works, variable that's a string does not.
  • Next by thread: Re: String works, variable that's a string does not.
  • Index(es):
    • Date
    • Thread