lua-users home
lua-l archive

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


> Hence, an empty string is treated as a false value.

An empty string in C is "", which has a true value. The false value for
strings is NULL. Treating NULL as false is good semantics in C, and is
close to Lua's semantics.