lua-users home
lua-l archive

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


Reuben Thomas wrote:
> 
> >       Yes.  What getn() really does it look up the table for a field named "n".
> 
> No, getn actually counts the number of numeric fields if there's no n
> field.

Probably getn() fails because you didn't do a lua_baselibopen in your C
program.

Oscar Lazzarino