WoW:API getn: Difference between revisions

{{luaapi}}
No edit summary
({{luaapi}})
Line 1: Line 1:
{{:Lua/Libshortcut|getn|table.getn}}
{{luaapi}} {{ambox
|border=red
|type='''Warning: This article discusses use of a deprecated function.'''
|style=margin-right: 10em
|info=*This function should no longer be used in Lua 5.1 and may be removed in the future.
*Use of it will result in potential future incompatibility.}}
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.getn(table)
  table.getn(table)
getn(table)


{{ambox
|border=red
|type='''Warning: This article discusses use of a deprecated function.'''
|info=*This function should no longer be used in Lua 5.1 and may be removed in the future.
*Use of it will result in potential future incompatibility.}}


This is used to determine the size of a table. The size of a table is discussed at the top of this page.
This is used to determine the size of a table. The size of a table is discussed at the top of this page.
Line 52: Line 53:


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