Difference between revisions of "Table.getn"

From GiderosMobile
Line 6: Line 6:
 
  table.getn(table)
 
  table.getn(table)
 
</source>
 
</source>
'''table''': (any)  ''''''<br/>
+
=== Parameters ===
 +
'''table''': (any)  <br/>

Revision as of 10:44, 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)