Tao.Lua SDK Documentation

Lua.luaL_loadstring Method 

Loads a string as a Lua chunk. This function uses lua_load to load the chunk in the zero-terminated string s.

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

Parameters

L
s

Return Value

Remarks

This function returns the same results as lua_load. Also as lua_load, this function only loads the chunk; it does not run it.

See Also

Lua Class | Tao.Lua Namespace