lua-users home
lua-l archive

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


> -----Original Message-----
> From: lua-bounces@bazar2.conectiva.com.br 
> [mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of 
> Luis Carvalho
> Sent: Thursday, July 21, 2005 1:19 AM
> To: Lua list
> Subject: Re: Concatenating strings with '+'
> 
> 
> On Lua 5.1-work6, you can have a quick and dirty solution by 
> simply providing a __add metamethod for strings:
> 
Thank you very much for the patch. I forgot to mention that I'm working with
5.02, but anyway, is nice to know that 5.1 allows me to do that by means of
metamethods.

Regards,
Ignacio