Tao.Lua SDK Documentation

Lua.luaL_where Method 

Pushes onto the stack a string identifying the current position of the control at level lvl in the call stack. Typically this string has the format {chunkname}:{currentline}:. Level 0 is the running function, level 1 is the function that called the running function, etc.

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

Parameters

L
lvl

Remarks

This function is used to build a prefix for error messages.

See Also

Lua Class | Tao.Lua Namespace