Tao.Lua SDK Documentation

Lua.luaL_optstring Method 

If the function argument narg is a string, returns this string. If this argument is absent or is nil, returns d. Otherwise, raises an error.

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

Parameters

L
n
d

Return Value

See Also

Lua Class | Tao.Lua Namespace