Re: repeat question
Re: repeat question
- Subject: Re: repeat question
- From: Matthew Smith <email@hidden>
- Date: Thu, 13 Dec 2001 14:20:36 +1100
on 13/12/2001 08:44, Thomas Myers at email@hidden wrote:
>
Does anyone know how to continue in a repeat statment without exiting.
>
>
repeat with aLine in {1,2,3,4}
>
if aLine = 3 then
>
continue
>
end if
>
log aline
>
end repeat
>
>
>
So what I want in this example is only 1, 2 and 4 logged out.
>
>
Yes I know i could do this by putting all of the stuff below the if in side
>
the if, but in my case it's LOTS and it would be more readable if I could just
>
tell it to continue to next repeat item.
You are asking something that isn't in the AppleScript language. You can't
get around using an if statement.
--
Matthew Smith