Difference between revisions of "Table.getn"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === returns size of table, or n field, or table.setn value, or 1 less first index with nil value\n [Deprec...") |
|||
Line 4: | Line 4: | ||
returns size of table, or n field, or table.setn value, or 1 less first index with nil value\n [Deprecated in Lua 5.1, use # operator] | returns size of table, or n field, or table.setn value, or 1 less first index with nil value\n [Deprecated in Lua 5.1, use # operator] | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | table.getn(table) | |
</source> | </source> | ||
− | '''table | + | '''table''': (any) ''''''<br/> |
Revision as of 10:17, 23 August 2018
Available since: Gideros 2011.6
Description
returns size of table, or n field, or table.setn value, or 1 less first index with nil value\n [Deprecated in Lua 5.1, use # operator]
table.getn(table)
'table: (any) '