Difference between revisions of "Rawget"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2011.6<br/> | + | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> |
− | === Description === | + | === <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> | ||
<source lang="lua"> | <source lang="lua"> | ||
(any) = rawget(table,key) | (any) = rawget(table,key) | ||
</source> | </source> | ||
− | === Parameters === | + | === <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/> | ||
− | === Return values === | + | === <translate>Return values</translate> === |
− | '''Returns''' (any) <translate>value from the table</translate><br/> | + | '''<translate>Returns</translate>''' (any) <translate>value from the table</translate><br/> |
Revision as of 07:28, 24 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