lua-users home
lua-l archive

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

"John Belmonte" <> writes:

> > [The "is nil present in a table" problem]
> I don't think that's an adequate name for the problem.  Nil should not be
> present in tables.  Nil is what you assign to a key to remove it from a
> table.  The problem is that Lua uses nil to mean false, so if you assign
> result of a boolean expression to a key you might obliterate that key.
> We've had a proposal on the table for dealing with this for a while.
> T. even made a patch for 4.0.  Is it worth some attention?
> (

Oops, yes, you're right; solving the false==nil issue would fix the XML-RPC
problem nicely.