lua-users home
lua-l archive

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


I think those two statements work the same.
(I'm open to correction..)

not really:

Lua 5.0.2  Copyright (C) 1994-2004 Tecgraf, PUC-Rio
> t = {[false]=1,[true]=2}
> print(next(t))
false   1
> t = {}
> print(next(t))
nil



--rb