lua-users home
lua-l archive

Re: How to print the content of Table/

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


Alexander, Craig
Really? table.foreach is deprecated? Just learned this statement! So,
just substitute for:
for k, v in pairs(t) do print(k, v) end
Thanks to all.
On Sun, May 6, 2012 at 11:01 AM, Alexander Gladysh <agladysh@gmail.com> wrote:
>
>
> 05.05.2012, в 0:22, Hallison Batista <hallison.batista@gmail.com> написал(а):
>
>> table.foreach(t, print)
>>
>
> table.foreach is deprecated.
>
> Alexander.
>
>
-- 
Hallison Batista
hallison.batista@gmail.com

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