Tao.Lua SDK Documentation

Lua.luaL_optlstring 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. If l is not NULL, fills the position *l with the results's length.

[Visual Basic]
Public Shared Function luaL_optlstring( _
   ByVal L As IntPtr, _
   ByVal numArg As Integer, _
   ByVal def As String, _
   ByRef l As UInt32 _
) As String
[C#]
public static string luaL_optlstring(
   IntPtr L,
   int numArg,
   string def,
   ref uint l
);

Parameters

L
numArg
def
l

Return Value

See Also

Lua Class | Tao.Lua Namespace