lua-users home
lua-l archive

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


2009/11/5 Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>:
> If you can use m(i,j) (as in Fortran), then you can set a __call metamethod.

That's an excellent suggestion!! Thank you very much, it will spare me
a lot of hard work with Lua internals :-)

Actually, I completely missed the 'call' metamethod, I'm wondering if
it is covered in the PiL book since I read it quite thoroughlly.

Francesco