在之前介紹過 load ,Lua提供了另一個類似的方法 loadfile 。 ... 簡單的 require() 函數,這個函數會紀錄已經載入過得檔案、模組於 package.loaded
確定! 回上一頁