WoW:API tremove: Difference between revisions

18 bytes removed ,  25 March 2010
{{luaapi}}
(see also: tremovebyval)
({{luaapi}})
Line 1: Line 1:
{{:Lua/Libshortcut|tremove|table.remove}}
{{luaapi}}
From [http://lua-users.org/wiki/TableLibraryTutorial TableLibraryTutorial] of lua-users.org.
From [http://lua-users.org/wiki/TableLibraryTutorial TableLibraryTutorial] of lua-users.org.


  table.remove(table [, pos])
  table.remove(table [, pos])
tremove(table[, pos])


Remove an element from a table. If a position is specified the element at that the position is removed. The remaining elements are reindexed sequentially and the size of the table is updated to reflect the change. The element removed is returned by this function. E.g.,
Remove an element from a table. If a position is specified the element at that the position is removed. The remaining elements are reindexed sequentially and the size of the table is updated to reflect the change. The element removed is returned by this function. E.g.,
Line 61: Line 62:


== See Also ==
== See Also ==
* [[tremovebyval]]
* [[tremovebyval]]
{{LUA}}