lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Fri, Nov 19, 2010 at 4:00 AM, Axel Kittenberger <> 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()