Tao.Lua SDK Documentation |
|
Lua.luaL_argcheck Method
Checks whether cond is true. If not, raises an error with the following message, where func is retrieved from the call stack:
bad argument #[numarg] to [func] ([extramsg])
[Visual Basic]
Public Shared Function luaL_argcheck( _
ByVal
L As
IntPtr, _
ByVal
cond As
Integer, _
ByVal
numarg As
Integer, _
ByVal
extramsg As
String _
) As
Boolean
Parameters
-
L
-
-
cond
-
-
numarg
-
-
extramsg
-
Return Value
See Also
Lua Class | Tao.Lua Namespace