在Lua 5.1曾經有 module() 的函數可用,但於Lua 5.2已經被移除。 ... 這與 package.path 有關。 package.path 保存了 require 尋找模組的路徑,以我的環境來看,其結果 ...
確定! 回上一頁