[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: help to (slightly) modify Lua interpreter
- From: Joseph Stewart <joseph.stewart@...>
- Date: Thu, 5 Nov 2009 08:57:03 -0500
...then you could make the constructor like this:
local m = dim(100,100)
;-)
-joe
On Thu, Nov 5, 2009 at 8:34 AM, steve donovan <steve.j.donovan@gmail.com> wrote:
> On Thu, Nov 5, 2009 at 3:26 PM, Luiz Henrique de Figueiredo
> <lhf@tecgraf.puc-rio.br> wrote:
>> If you can use m(i,j) (as in Fortran), then you can set a __call metamethod.
>
> And then no one can argue when you use 1-based arrays ;)
>