lua-users home
lua-l archive

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


On Fri, Feb 22, 2008 at 4:25 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
> > Suggestion: at least some functions to print the contents of tables.
>
>  table.foreach(t,print)

Oops, how embarassing... 8-\

I've been using my own functions for printing tables for so long that
I forgot that something like "table.foreach(t, print)" could be enough
in many cases... Just added it to my list of standard tricks...

  Cheers,
    Eduardo Ochs
    http://angg.twu.net/
    eduardoochs@gmail.com