Function; rawset - HWRM/KarosGraveyard GitHub Wiki

rawset(<tTable>, <Index>, <Value>)

Description

(from LUA 4 Manual: 6.1 Basic Functions)

"Sets the real value of <tTable>[<Index>] to <Value>, without invoking any tag method. <tTable> must be a table, <Index> is any value different from nil, and <Value> is any Lua value."

Example

Arguments

<tTable>: the table to traverse.
<Index>: the index of the table element. (either a string or an integer)
<Value>: the value to set the table element to. (can be any type of value)

Related Functions

Function Reference

LUA 4 Manual: 6.1 Basic Functions

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial

⚠️ **GitHub.com Fallback** ⚠️