WoW:API tremove: Difference between revisions
Jump to navigation
Jump to search
m
Move page script moved page API tremove to WoW:API tremove without leaving a redirect
No edit summary |
m (Move page script moved page API tremove to WoW:API tremove without leaving a redirect) |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{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 57: | Line 59: | ||
2 2 | 2 2 | ||
3 3 | 3 3 | ||
== See Also == | |||
* [[tremovebyval]] | |||