Tao.Lua SDK Documentation

Lua.lua_gettable Method 

Pushes onto the stack the value t[k], where t is the value at the given valid index index and k is the value at the top of the stack.

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

Parameters

L
idx

Remarks

This function pops the key from the stack (putting the resulting value in its place). As in Lua, this function may trigger a metamethod for the "index" event.

See Also

Lua Class | Tao.Lua Namespace