lua-users home
lua-l archive

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


>I haven't been keeping up with the changes to Lua, but does Lua allow
>any supported data type (including user types) to be used as an index
>into a table?

Yes, all values can be indices, except nil. This has been like that since 2.1.
--lhf