nil 是Lua裡的一個特殊值,代表什麼也沒有。其型別也是 nil ... 邏輯運算. Lua的邏輯運算與大多數語言相同,除了不等於 ~= if 1 ~= 2 then print "1 not equal 2" end ...
確定! 回上一頁