lua-users home
lua-l archive

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



On 23 February 2011 16:29, Axel Kittenberger <axkibe@gmail.com> wrote:

local v = 1 / 0
if v then
 print("it is true!")
else
 print("it is false!")
end

what should it do?


"It is undefined!" ? Of course, adding three-way logic to Lua may have _some_ impact on existing code :)