lua_version[-0, +0, –] const lua_Number *lua_version (lua_State *L); Returns the address of the version
file:close () Closes file. Note that files are automatically closed when their handles are garbage collected, but that takes an unpredictable amount of time to happen
file:write (···) Writes the value of each of its arguments to file. The arguments must be strings or numbers. In case of success, this function returns file
luaL_Buffer typedef struct luaL_Buffer luaL_Buffer; Type for a string buffer. A string buffer allows C code to build
lua_tointegerx[-0, +0, –] lua_Integer lua_tointegerx (lua_State *L, int index, int *isnum); Converts the
lua_isfunction[-0, +0, –] int lua_isfunction (lua_State *L, int index); Returns 1 if the value at the given
3.4.6 – Concatenation The string concatenation operator in Lua is denoted by two dots ('..'). If both operands are strings or numbers, then they are converted to strings according
3.3.6 – Function Calls as Statements To allow possible side-effects, function calls can be executed as statements: stat ::= functioncall
package.loadlib (libname, funcname) Dynamically links the host program with the C library libname. If funcname is "*", then it
xpcall (f, msgh [, arg1, ···]) This function is similar to pcall, except
Page 27 of 36