Difference between revisions of "Rawget"

From GiderosMobile
Line 6: Line 6:
 
(any) = rawget(table,key)
 
(any) = rawget(table,key)
 
</source>
 
</source>
'''table''': (table) table to get value from ''''''<br/>
+
=== Parameters ===
'''key''': (any) key value in the table ''''''<br/>
+
'''table''': (table) table to get value from <br/>
 +
'''key''': (any) key value in the table <br/>
 +
=== Return values ===
 
'''Returns''' (any) value from the table<br/>
 
'''Returns''' (any) value from the table<br/>

Revision as of 11:45, 23 August 2018

Available since: Gideros 2011.6

Description

Gets the real value of table[index], without invoking any metamethod. table must be a table; index may be any value.

(any) = rawget(table,key)

Parameters

table: (table) table to get value from
key: (any) key value in the table

Return values

Returns (any) value from the table