lua-users home
lua-l archive

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


On Thu, Apr 16, 2009 at 3:08 AM, wrote:
>> =((1 or false) and true) or false
> 1

Consider this variant:

$ lua
> return (1 or 2) and 3 or 4
3   -- correct
> return (1 or 2) and true or 4
1   -- wrong