lua-users home
lua-l archive

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


> On Nov 19, 2013, at 4:30 PM, Daurnimator <quae@daurnimator.com> wrote:
> 
> What about for the and/or operators? 

Ah yes, they do use those two functions as well. They should still work as expected, with the change of 0 being false instead of true. I will have to do a bit of testing on those two operators now! :)

Obviously this is significant change from how standard Lua does things, which is why I do not think the patch would get much use. I only really posted about it to get some feedback (thank you by the way), and because I thought people might find it interesting as I have seen the zero-as-true issue discussed elsewhere online a number of times.

~pmd~

PS: Sorry for top-posting in my previous posts... It seems the convention of the list is to quote then reply, something I do not usually do in email but will try to remember here! ;)