lua-users home
lua-l archive

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


In Lua 5.2 it is possible to define the __len metamethod (# operator
method) for tables as well.

Is there a way to access the raw (primitive) length operator for a
table which has a custom __len defined in the same way as rawget /
rawset allow this for __index and __newindex?

Thank you