m
Move page script moved page API rawset to WoW:API rawset without leaving a redirect
No edit summary |
m (Move page script moved page API rawset to WoW:API rawset without leaving a redirect) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{luaapi}} | ||
Assigns a value to a key in the table, without invoking [[metamethod]]s. | |||
table = rawset (table, index, value) | table = rawset (table, index, value) | ||
== Arguments == | |||
;table : table - any valid table. | |||
;index : non-nil - any valid table index. | |||
;value : any - any value. | |||
==Returns== | ==Returns== | ||
;table : table - the table you passed as the first parameter. | |||
== Example == | == Example == | ||
| Line 21: | Line 16: | ||
==Details== | ==Details== | ||
Sets the real value of | Sets the real value of ''table''[''index''] to ''value'', without invoking any metamethod. ''table'' must be a table, ''index'' any value different from nil, and ''value'' any Lua value. | ||
==Notes== | ==Notes== | ||