lua-users home
lua-l archive

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


Pete Gardner wrote:
> I would just as soon use   
> 	value1.add(value2)   
> instead of  
> 	value1+=value2 
>  
> Not much more typing, and it's still pretty clear.  Does Lua support that 
> right now?  (Newbie, here.) 

Yeah - you can do it using the tag method for lookups on numbers.

Steve