RE: Concatenating strings with '+'
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: RE: Concatenating strings with '+'
- From: Ignacio Burgueño <ignacio@...>
- Date: 2005年7月21日 10:40:23 -0300
> -----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