Re: Jumping to next iteration in loop
Re: Jumping to next iteration in loop
- Subject: Re: Jumping to next iteration in loop
- From: Timothy Bates <email@hidden>
- Date: Sun, 14 Oct 2001 00:09:15 +1000
On 14/10/01 12:02 AM, "Paul Hague" <email@hidden> wrote:
>
I need a statement equivalent to the 'continue' statement in C.
>
how would experienced programmers work around this apparent
>
limitation in the language?
No idea :-) But I would just wrap the bit you want to skip in an if
statement:
repeat with n from 1 to 10
if n mod 3 is not 0 then
--like-continue
else
display dialog n
end if
end repeat