lua-users home
lua-l archive

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


> Furthermore I wonder for what the current implementation of # makes
> any sense for an application except for strictly linear arrays, other
> than the t[#t +1]=v case which can perfectly be covered already with
> table.insert(t, v). [...]

Note that 'table.insert' is implemented using '#'.

-- Roberto