lua-users home
lua-l archive

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



On 29 Jul 2008, at 07:25, E. Wing wrote:


What is the following case you describe? m{1,2}
Is this a function call? m({1,2}). Is this the functable technique I
read about somewhere else?

Yep, m{1,2} is shorthand for m( {1,2} ) so you can catch it in your matrix's __call metamethod.