• 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: Skip a step in a repeat loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Skip a step in a repeat loop


  • Subject: Re: Skip a step in a repeat loop
  • From: Timothy Bates <email@hidden>
  • Date: Thu, 30 Aug 2001 01:31:30 +1000

On 8/30/01 1:15 AM, "Matthew Broms" <email@hidden> wrote:

> Is there a way to skip through one cycle of a repeat loop? I don't want to
> break out of it, I just want to test on a condition, and if it's true, skip
> the rest and jump right to the next item/step in the loop.

set completed to false

repeat while not completed
if (specialCondition not true) then
--do stuff
else
--skip to the next item
end
end


References: 
 >Skip a step in a repeat loop (From: Matthew Broms <email@hidden>)

  • Prev by Date: Re: Skip a step in a repeat loop
  • Next by Date: Re: processing time & stack overflow
  • Previous by thread: Re: Skip a step in a repeat loop
  • Next by thread: Re: Skip a step in a repeat loop
  • Index(es):
    • Date
    • Thread