lua-users home
lua-l archive

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


On 04/11/2014 08:39 AM, duz wrote:
Hmm, after *you* wrote an __index method that returns two values, *you* are surprised it does?

Why do you assume that the person who wrote "foo(tracker[1]) " is the same as the one who wrote __index for tracker?

I write a lot of functions used by others, for projects that are used over years.
--
Thomas