Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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.


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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.