lua-users home
lua-l archive

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



On Feb 20, 2008, at 12:31 AM, Chris wrote:

vertex_vector[20, 'x'] = 2.5

As mentioned by Matthew P. Del Buono, perhaps adding the appropriate __call and __newindex would do:

vertex_vector( 20, 'x' ) = 2.5

Looks convoluted though :/