lua-users home
lua-l archive

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


On Thu, 24 Feb 2005 18:24:38 -0000, crow <crow_64a@blueyonder.co.uk> wrote:
> Mike Pall <mikelu-0502@mike.de> wrote:
> >if next(t) == nil then ... end
> Even so, I think they will only work till the next nil element in the table

Tables have no nil values, only "missing" values. next(t) only ever
returns nil at the end of a table.