lua-users home
lua-l archive

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


On Wed, Apr 9, 2014 at 4:01 AM, Thomas Jericke <tjericke@indel.ch> wrote:

> local sockets, mysql, json in require -- loads several libraries as local
> tables

I really like that last one.

I was just imagining this:

for _, v in ipairs { a, b, c in some_other_table } do
    do_something_on(v)
end