[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: continue continued, with break N
- From: David Manura <dm.lua@...>
- Date: Fri, 19 Nov 2010 22:54:56 -0500
On Fri, Nov 19, 2010 at 4:00 AM, Axel Kittenberger <email@example.com> wrote:
> continue 2(or more) -- calls the iterator twice, skiping one .....
> thinking about e.g. argument parsing, this continue X would be a dream!
Or just mutate the iterator inside the loop:
for a in it do
if a == '-f' then
name = it()