lua-users home
lua-l archive

Re: Lua 5.2 Length Operator and tables (bug?)

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


On Wed, Apr 18, 2012 at 9:25 AM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> Heck, people, the Lua team has gone out of their way to
> solve the #t issue by providing the __len metamethod:
A not commonly known fact is that LuaJIT 2.0 supports __len, __ipairs
and __pairs if you recompile with this line in luaconf.h
#define LUAJIT_ENABLE_LUA52COMPAT 1
Maybe malkia can distribute Windows binaries with this set?
steve d.

AltStyle によって変換されたページ (->オリジナル) /