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: Michelle Steiner <email@hidden>
- Date: Thu, 30 Aug 2001 10:56:49 -0700
On 8/30/01 10:37 AM, Arthur J Knapp <email@hidden> wrote:
>
Good stuff, Paul, but an actual "continue" statement would still
>
be nicer... ;-)
>
>
repeat with i from 1 to 100
>
>
-- stuff
>
>
if (something) then continue
>
>
-- more stuff
Here ya go. <g>
--Michelle
repeat with i from 1 to 100
-- stuff
if (somthing) then
next(i)
else
-- more stuff
end if
end repeat
on next(foo)
end next
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------