Difference between revisions of "Rawget"

From GiderosMobile
Line 3: Line 3:
 
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/(global)|(global)]]<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/(global)|(global)]]<br/>
 +
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Gets the real value of table[index], without invoking any metamethod. table must be a table; index may be any value.</translate>
 
<translate>Gets the real value of table[index], without invoking any metamethod. table must be a table; index may be any value.</translate>
Line 8: Line 9:
 
(any) = rawget(table,key)
 
(any) = rawget(table,key)
 
</source>
 
</source>
 +
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''table''': (table) <translate>table to get value from</translate> <br/>
 
'''table''': (table) <translate>table to get value from</translate> <br/>
 
'''key''': (any) <translate>key value in the table</translate> <br/>
 
'''key''': (any) <translate>key value in the table</translate> <br/>
 +
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (any) <translate>value from the table</translate><br/>
 
'''<translate>Returns</translate>''' (any) <translate>value from the table</translate><br/>
 +
 +
{{(global)}}

Revision as of 04:26, 11 February 2020


Available since: Gideros 2011.6
Class: (global)

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