Table.getn: Difference between revisions
From GiderosMobile
No edit summary |
m Text replacement - "</source>" to "</syntaxhighlight>" |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
''' | '''Available since:''' Gideros 2011.6<br/> | ||
=== | '''Class:''' [[Special:MyLanguage/table|table]]<br/> | ||
< | === Description === | ||
Returns the size of the table, or n field, or table.setn value, or 1 less first index with nil value. | |||
</ | |||
=== | '''[Deprecated in Lua 5.1, use # operator]''' | ||
'''table''': (any) | |||
<syntaxhighlight lang="lua"> | |||
table.getn(table) | |||
</syntaxhighlight> | |||
=== Parameters === | |||
'''table''': (any) <br/> | |||
{{Table}} | |||
Latest revision as of 13:33, 13 July 2023
Available since: Gideros 2011.6
Class: table
Description
Returns the size of the table, or n field, or table.setn value, or 1 less first index with nil value.
[Deprecated in Lua 5.1, use # operator]
table.getn(table)
Parameters
table: (any)