lua-users home
lua-l archive

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

On Thu, Jul 17, 2008 at 11:06 AM, Michael Gerbracht <> wrote:
> local t = {}
> t = pack(test())
> print(t[2])


but beware of nil values....

BTW, in your example you don't need to set t={} first, since that
table would be forgotten when you reassign t just on the next line.