lua-users home
lua-l archive

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


>   local Result = false;  -- you could also use "nil" here
>     Result = Result or "anything else";
>   io.stdout:write("Result = '"..tostring(Result).."'");
> 
> yields "false" (or "nil", resp.) rather than "anything else"

Perhaps this is related to this bug, which apparently only surfaces in
Windows: http://www.lua.org/bugs.html#5.1.2-2