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: Steve Thompson <email@hidden>
- Date: Wed, 29 Aug 2001 16:29:23 +0100
On 29/8/01 4:15 pm, "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.
The answer is in your question
Repeat with I from 1 to 10
If i<>8 then
beep
End if
End repeat
...will beep 9 times - it won't beep when i=8