3.3.3 – Assignment Lua allows multiple assignments. Therefore, the syntax for assignment defines a list of variables on the left side and a list of expressions on the right side. The elements
debug.traceback ([thread,] [message [, level]]) If message is present but is neither a string nor nil, this function returns message without further
_VERSION A global variable (not a function) that holds a string containing the running Lua version. The current value of this variable is "Lua 5.3".
lua_CFunction typedef int (*lua_CFunction) (lua_State *L); Type for C functions. In order to communicate properly with Lua
lua_pcall[-(nargs + 1), +(nresults|1), –] int lua_pcall (lua_State *L, int nargs, int nresults, int msgh);
luaL_unref[-0, +0, –] void luaL_unref (lua_State *L, int t, int ref); Releases reference ref
pcall (f [, arg1, ···]) Calls function f with the given arguments in protected mode. This means that any error inside f is not propagated; instead
next (table [, index]) Allows a program to traverse all fields of a table. Its first argument is a table and its second argument is an index in this table. next returns
lua_load[-0, +1, –] int lua_load (lua_State *L, lua_Reader reader, void *data,
lua_gethookcount[-0, +0, –] int lua_gethookcount (lua_State *L); Returns the current hook count.
Page 4 of 36