Lua游戏开发实践指南
最新书摘:
-
XA™2013-01-23The conjunction operator and returns its first argument if this value is false or nil; otherwise, and returns its second argument. The disjunction operator or returns its first argument if this value is different from nil and false; otherwise, or returns its second argument.
-
XA™2013-01-23逻辑运算符and,如果第一个参数是false,返回false;否则返回第二个参数的值。逻辑运算符or,如果第一个参数不是false,返回第一个参数的值;如果第二个参数是true,则返回第二个参数的值。