Re: Silly repeat question
Re: Silly repeat question
- Subject: Re: Silly repeat question
- From: Alex Zavatone <email@hidden>
- Date: Thu, 26 Aug 2010 16:25:11 -0500
On Aug 26, 2010, at 3:53 PM, email@hidden wrote:
>
> On Aug 26, 2010, at 1:31pm, Alex Zavatone wrote:
>
>> I don't want to put an if/then block around a decent chunk of code when I can simply do this beforehand:
>
> We're not putting an if/then block around anything. We're putting a repeat 1 time block inside your repeat loop.
>>
>> if not myCondition then next repeat.
>>
>
> as opposed to:
>
> if not myCondition then exit repeat
>
>
> If that's inside a repeat 1 time block, inside a repeat loop, the behavior is exactly what you want.
>
>
>> It's the nesting that I want to avoid.
>>
>
> In appleScript, that's how it's done.
My brain must be dented. I'm not seeing something here.
No way to avoid the nesting of my code block?
_______________________________________________
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