t:makesequence("max") -- sets t._SEQ to maximum positive integer, in this case 7
print(t:concat(" ")) -- a b X e f
t._NILCONCAT = "nil" -- default is ""
print(t:concat(" ")) -- a b nil nil X e f
t[11] = "k" -- _SEQ doesn't change, use table.insert
t:makesequence(false) -- equivalent to t.SEQ = nil
t:makesequence(3, true) -- optional second argument. If set, erases everything higher than _SEQ
for i, v in ipairs(t) print(v) end -- a b nil
for k, v in pairs(t) print(k .. "," .. v) end -- 1,a 2,b _SEQ,3 _NILCONCAT,nil
Vaughan