Lua 是動態類型語言,變數值不需要型態定義,只需要為變數給值。 ... print(type(true)) print(type(false)) print(type(nil)) if false or nil then print("至少有一個 ...
確定! 回上一頁