• 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: how?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how?


  • Subject: Re: how?
  • From: Chris Page <email@hidden>
  • Date: Wed, 13 Jan 2010 19:08:11 -0800

On Jan 13, 2010, at 6:37 PM, Adam Morris wrote:

I find that code misleading because it implies that that test will actually be used to exit the loop, but it isn’t.

A "lonely" repeat statement collides with Applescript's only way to ensure the loop executes once.

In what way? “repeat … end” is guaranteed to execute at least once, and if you don’t intend it to execute more than once, it shouldn’t be a repeat loop.

-- 
Chris Page

 The other, other AppleScript Chris

 _______________________________________________
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

  • Follow-Ups:
    • Re: how?
      • From: Adam Morris <email@hidden>
    • Re: how?
      • From: "email@hidden" <email@hidden>
References: 
 >Re: how? (From: Adam Morris <email@hidden>)
 >Re: how? (From: Chris Page <email@hidden>)
 >Re: how? (From: Adam Morris <email@hidden>)

  • Prev by Date: Re: how?
  • Next by Date: Re: how?
  • Previous by thread: Re: how?
  • Next by thread: Re: how?
  • Index(es):
    • Date
    • Thread