Both ipairs (the factory) and the iterator are quite simple; we could write them in Lua as follows: local function iter (a, i) i = i + 1 local v = a[i] if v ...
確定! 回上一頁