lua-users home
lua-l archive

Re: Arithmetic on strings

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


>> Sure would make it easier to concat a dynamic number of strings
>> without using an intermediate table.
>
> The concat operator does this already. "A..B..C" generates only one CONCAT
> instruction, not two.
>
He said "dynamic" number of strings, meaning A..B..C won't work;
consider the case of multiple function return values or varargs.
/s/ Adam

AltStyle によって変換されたページ (->オリジナル) /