文章列表lua特别注意On this page特别注意一些特别主要的选项布尔值的返回-- 布尔值只要不等于nil,既为真a = nil --falseb = 0 --true-- 只有使用not才能放回纯粹的 false/trueprint(a and b) -- nilprint(a or b) -- 0print(not a) -- trueprint(not b) -- false0在布尔值中显示代表真if 0 then print('true')end