lua-users home
lua-l archive

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


steve donovan wrote:
The
paranoid programmer will do things like table.insert(t,assert(val)) to
catch these things early

A paranoid's correction:
    table.insert(t,assert(val~=nil) and val)

--
Shmuel