Difference between revisions of "Rawget"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
− | Gets the real value of table[index], without invoking any metamethod. table must be a table; index may be any value. | + | <translate>Gets the real value of table[index], without invoking any metamethod. table must be a table; index may be any value.</translate> |
<source lang="lua"> | <source lang="lua"> | ||
(any) = rawget(table,key) | (any) = rawget(table,key) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
− | '''table''': (table) table to get value from <br/> | + | '''table''': (table) <translate>table to get value from</translate> <br/> |
− | '''key''': (any) key value in the table <br/> | + | '''key''': (any) <translate>key value in the table</translate> <br/> |
=== Return values === | === Return values === | ||
− | '''Returns''' (any) value from the table<br/> | + | '''Returns''' (any) <translate>value from the table</translate><br/> |
Revision as of 13:34, 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