Lua 認為false和nil為假,true和非nil為真。 要注意的是Lua中0 為true. --[ 0 為true ] if(0) then print("0 為true") end.
確定! 回上一頁