Re: exit repeat abuse;-)
Re: exit repeat abuse;-)
- Subject: Re: exit repeat abuse;-)
- From: Michelle Steiner <email@hidden>
- Date: Thu, 14 Jan 2010 08:19:15 -0700
On Jan 14, 2010, at 7:58 AM, Mark J. Reed wrote: 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
Well, "better" is subjective, so it depends who you ask. My answer is no, because then you have to look for the "end if" before finding out that, in fact, there's nothing else after it inside the loop. The "exit repeat" makes that clear immediately.
How about this:
if a then -- do nothing else --do stuff you want to do if a is false end if
-- Michelle -- Don't dream it. Be it. --RHPS
|
_______________________________________________
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