[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: continue continued, with break N
- From: Axel Kittenberger <axkibe@...>
- Date: Sat, 20 Nov 2010 13:40:35 +0100
> Or just mutate the iterator inside the loop:
>
> for a in it do
> if a == '-f' then
> name = it()
> .....
Really may I? I read from the manual that I may not.
- how do you imagine to skip a pair?
for k, v in ipairs(x) do
if v="-skip" then
k,v = ipairs(x, k,v )
continue
-- eh
else
everything
else
i
want
to
do
end
end