lua-users home
lua-l archive

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


> I myself tend to use named captures nested in table captures only for
> very simple tasks. For anything more complex I prefer to use unamed
> captures nested in function captures: The function then creates the
> table with the proper fields.

More specifically: I tend to use named captures nested in table captures
when there is already a table capture for a list of unamed captures
and I want to add one or two extra named fields in the table (e.g., a
tag). When the table being created is a record, I prefer to use a function.

-- Roberto