Tao.Lua SDK Documentation

Lua.lua_settop Method 

Accepts any acceptable index, or 0, and sets the stack top to this index. If the new top is larger than the old one, then the new elements are filled with nil. If index is 0, then all stack elements are removed.

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

Parameters

L
idx

See Also

Lua Class | Tao.Lua Namespace