Difference between revisions of "Table.getn"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== 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]
+
<translate>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]</translate>
 
<source lang="lua">
 
<source lang="lua">
 
  table.getn(table)
 
  table.getn(table)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''table''': (any) <br/>
+
'''table''': (any) <translate></translate> <br/>

Revision as of 13:33, 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)

Parameters

table: (any)