Tao.Lua SDK Documentation

Lua.lua_createtable Method 

Creates a new empty table and pushes it onto the stack. The new table has space pre-allocated for narr array elements and nrec non-array elements. This pre-allocation is useful when you know exactly how many elements the table will have. Otherwise you can use the function lua_newtable.

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

Parameters

L
narr
nrec

See Also

Lua Class | Tao.Lua Namespace