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 | + | === Parameters === |
− | '''key''': (any) key value in the table | + | '''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 10: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