lua-users home
lua-l archive

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


> function graph:new(o)
>        o = o or {}
>        setmetatable(o,self)
>        self._index = self
>        return o
> end

Note that __index should have two underscores. Yours has only one.

HTH,
Alexander.