Table.insert
From OpenEUO
Revision as of 12:50, 9 October 2010 by 76.184.213.234 (Talk)
table.insert (table, [pos,] value)
Inserts element value at position pos in table, shifting up other elements to open space, if necessary. The default value for pos is n+1, where n is the length of the table (see §2.5.5), so that a call table.insert(t,x) inserts x at the end of table t.