Re: Comma delimited paragraph
Re: Comma delimited paragraph
- Subject: Re: Comma delimited paragraph
- From: Steve Mills <email@hidden>
- Date: Thu, 18 May 2017 12:05:09 -0500
On May 18, 2017, at 11:27:49, Yvan KOENIG <email@hidden> wrote:
>
> As was already written, your code fail to reset the original text item delimiters.
It's a snippet to do what needs to be done. When I asked how to do something in Objective-C on cocoa-dev, I don't expect someone to give me an entire finished application. Same here. Any AppleScript knows how to fit it into their own script. Resetting the ATID every time is only necessary if you're working with a large script that potentially has subscripts and such. I don't know about you, but I never use text items without first setting the delimiters, because to do so would be a bad decision.
> Worse, it's awfully verbose 🙄
Yep. It uses one variable, because that's all it needs. It doesn't to compare the final text to the original text or anything like that. Decades of writing code has taught me to be memory conscious and not litter it with extra, unnecessary variables.
--
Steve Mills
Drummer, Mac geek
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden