Re: Skip a step in a repeat loop
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