LuaNET, the lua 5.1 api documentation!

Lua-Api

Table

[LUA 5.1] table.insert

function 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, so that a call table.insert(t,x) inserts x at the end of table t.

Comments

© 2007 DracoBlue :: Valid XHTML, CSS, RSS Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC | SourceNet © 2007, DracoBlue :: Page created in 0.234 seconds with 25 queries.