Tao.Lua SDK Documentation

Lua.lua_settable Method 

Does the equivalent to t[k] = v, where t is the value at the given valid index index, v is the value at the top of the stack, and k is the value just below the top.

[Visual Basic]
Public Shared Sub lua_settable( _
   ByVal L As IntPtr, _
   ByVal idx As Integer _
)
[C#]
public static void lua_settable(
   IntPtr L,
   int idx
);

Parameters

L
idx

Remarks

This function pops both the key and the value from the stack. As in Lua, this function may trigger a metamethod for the "newindex" event

See Also

Lua Class | Tao.Lua Namespace