Tao.Lua SDK Documentation

Lua.luaL_dostring Method 

Loads and runs the given string.

[Visual Basic]
Public Shared Function luaL_dostring( _
   ByVal L As IntPtr, _
   ByVal s As String _
) As Integer
[C#]
public static int luaL_dostring(
   IntPtr L,
   string s
);

Parameters

L
s

Return Value

It returns 0 if there are no errors or 1 in case of errors.

See Also

Lua Class | Tao.Lua Namespace