LuaNET, the lua 5.1 api documentation!

Lua-Api

Table

[LUA 5.1] table.remove

function table.remove ( table, pos )
Removes from table the element at position pos, shifting down other elements to close the space, if necessary.
Returns the value of the removed element.
The default value for pos is n, where n is the length of the table, so that a call table.remove(t) removes the last element 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.411 seconds with 22 queries.