lua-users home
lua-l archive

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


On Mon, May 11, 2009 at 11:45 AM, Bulat Ziganshin
<bulat.ziganshin@gmail.com> wrote:
> and the last question - does *standard* Lua libraries provide way to
> catenate two arrays?

No, you will have to write two loops, one to copy the first array,
second to append the elements from the second array, depending on
whether you want to concatenate (make a new array) or append to an
existing one.

steve d.