[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: help to (slightly) modify Lua interpreter
- From: Francesco Abbate <francesco.bbt@...>
- Date: Thu, 5 Nov 2009 15:30:31 +0100
2009/11/5 Luiz Henrique de Figueiredo <firstname.lastname@example.org>:
> 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.