lua-users home
lua-l archive

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



Because of the caller's needs.. This really is up to each usage scenario. In gluax, the C/Lua interface I use, it makes more sense to interpret them that way. That allows i.e. to create arrays etc. from C code with minimal hassle.


30.11.2004 kello 17:51, Alex Sandro Queiroz e Silva kirjoitti:

 Hallo,

Asko Kauppi wrote:


.subtable[1].field is of course what I meant.. :)

But t.x is syntatic sugar for t["x"], so why not subtable.1 == subtable["1"]?

-alex