• 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: simple “repeat with” problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >simple “repeat with” problem (From: Mitchell L Model <email@hidden>)
 >Re: simple “repeat with” problem (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: trivial Finder path problem
  • Next by Date: Re : trivial Finder path problem
  • Previous by thread: Re: simple “repeat with” problem
  • Next by thread: Re : trivial Finder path problem
  • Index(es):
    • Date
    • Thread