• 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
"Next" in Repeat?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Next" in Repeat?


  • Subject: "Next" in Repeat?
  • From: Steve Ivy <email@hidden>
  • Date: Tue, 23 Jan 2001 10:26:21 -0500

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


  • Follow-Ups:
    • Re: "Next" in Repeat?
      • From: Emmanuel <email@hidden>
    • Re: "Next" in Repeat?
      • From: Paul Berkowitz <email@hidden>
    • Re: "Next" in Repeat?
      • From: JollyRoger <email@hidden>
  • Prev by Date: Re: [ANN] Report on AS 1.5.5 from AppleScript Sourcebook
  • Next by Date: RE: "Next" in Repeat?
  • Previous by thread: Shirley Hopkins "AppleScripting QuarkXPress" ... is there a website?
  • Next by thread: Re: "Next" in Repeat?
  • Index(es):
    • Date
    • Thread