RE: "Next" in Repeat?
RE: "Next" in Repeat?
- Subject: RE: "Next" in Repeat?
- From: "Bourque, Jason" <email@hidden>
- Date: Tue, 23 Jan 2001 10:38:42 -0500
exit repeat will leave the repeat loop entirely but if you want to skip to
the next item in the list then just use the if then to avoid the item that
meet the requirements.
Jason Bourque
>
-----Original Message-----
>
From: Steve Ivy [SMTP:email@hidden]
>
Sent: Tuesday, January 23, 2001 10:26 AM
>
To: email@hidden
>
Subject: "Next" in Repeat?
>
>
I'm still kinda new to AppleScript - is there a way to break out of the
>
current loop in a repeat statement and skip to the next one?
>
>
Something like:
>
>
repeat with i in {1,2,3}
>
if i is "2"
>
next repeat
>
else
>
log (i)
>
end if
>
end repeat
>
>
???
>
>
Thanks,
>
>
--Steve