• 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: exit repeat abuse;-)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exit repeat abuse;-)


  • Subject: Re: exit repeat abuse;-)
  • From: "email@hidden" <email@hidden>
  • Date: Thu, 14 Jan 2010 08:26:09 -0800

Well, of course that's the simplest example of the concept possible.

Nearly all the scripts I have that use that method have numerous conditions that would return to the top of the repeat loop from several points inside.

Much cleaner if if done with the double repeat method.

ES

On Jan 14, 2010, at 6:54am, airdrummer wrote:

>>  repeat 1 times
>>     do stuff
>>     If a is true then exit repeat
>> --do stuff you want to do if a is false
>>   end repeat
>
> uh, isn't that better expressed as:
>
>      -- do stuff
>      If a is false then
> 	 --do stuff you want to do if a is false
>      end if

 _______________________________________________
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: exit repeat abuse;-)
      • From: airdrummer <email@hidden>
References: 
 >Re: exit repeat abuse;-) (From: airdrummer <email@hidden>)

  • Prev by Date: Re: exit repeat abuse;-)
  • Next by Date: Re: how?
  • Previous by thread: Re: exit repeat abuse;-)
  • Next by thread: Re: exit repeat abuse;-)
  • Index(es):
    • Date
    • Thread