lua-users home
lua-l archive

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


this will turns to a error, because table element is not string, just like original table.concat

在 2011-10-11 下午7:21,"Sebastien Lai" <237482@googlemail.com>写道:
On Tue, Oct 11, 2011 at 10:51 AM, Xavier Wang <weasley.wx@gmail.com> wrote:
> some, maybe table.concat can accept a second sep:
> print(table.concat(t, ':', ',') --> a:1,b:2,c:3
>
What about: {a={b={c={1, 2, 3, 4}}}}?