最近在寫Lua發現pairs跟ipairs因為太像了,所以使用上可能會誤用。紀錄一下兩者的差異吧。 先看官方manual的內容http://www.lua.org/manual/5.2/manual.
確定! 回上一頁