在控制结构的条件中除了false和nil为假, 其他值都为真。lua认为0 和空字符串 ... 在lua中,“if 0”被认为是true。 if 0 then print("In lua, 'if 0' is ...
確定! 回上一頁