Tao.Lua SDK Documentation

Lua.lua_next Method 

Pops a key from the stack, and pushes a key-value pair from the table at the given index (the "next" pair after the given key).

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

Parameters

L
idx

Return Value

If there are no more elements in the table, then lua_next returns 0 (and pushes nothing).

See Also

Lua Class | Tao.Lua Namespace