Tao.Lua SDK Documentation

Lua.luaL_dofile Method 

Loads and runs the given file.

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

Parameters

L
fn

Return Value

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

See Also

Lua Class | Tao.Lua Namespace