Re: simple “repeat with” problem
Re: simple “repeat with” problem
- Subject: Re: simple “repeat with” problem
- From: Mitchell L Model <email@hidden>
- Date: Fri, 09 Dec 2016 19:55:27 -0500
On Dec 9, 2016, at 4:53 PM, Christopher Stone < email@hidden> wrote:
Generally I prefer NOT to do it this way, because the file-list isn't an object available to inspect in Script Debugger – and that can make debugging more difficult.
Yes, that is always an issue in programming: set a variable to support debugging or not set it to be more elegant. Given my particular programming background my default is to not set variables if the value is used only once, then set a variable if I need it for debugging.
However – that won't stop me from using the form in something quick and dirty that I know will work.
Yes. Problem of course is that what I know will work often doesn't and I end up with a variable until I figure out. Often I am stubborn enough to remove the variable once it's working.
|
_______________________________________________
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