lua_version
  • References/Lua/Lua/API/Functions and Types

lua_version[-0, +0, –] const lua_Number *lua_version (lua_State *L); Returns the address of the version

2025-01-10 15:47:30
file:close()
  • References/Lua/Lua/Standard Libraries/Input and Output Facilities

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

2025-01-10 15:47:30
file:write()
  • References/Lua/Lua/Standard Libraries/Input and Output Facilities

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

2025-01-10 15:47:30
luaL_Buffer
  • References/Lua/Lua/Auxiliary Library/Functions and Types

luaL_Buffer typedef struct luaL_Buffer luaL_Buffer; Type for a string buffer. A string buffer allows C code to build

2025-01-10 15:47:30
lua_tointegerx
  • References/Lua/Lua/API/Functions and Types

lua_tointegerx[-0, +0, –] lua_Integer lua_tointegerx (lua_State *L, int index, int *isnum); Converts the

2025-01-10 15:47:30
lua_isfunction
  • References/Lua/Lua/API/Functions and Types

lua_isfunction[-0, +0, –] int lua_isfunction (lua_State *L, int index); Returns 1 if the value at the given

2025-01-10 15:47:30
Concatenation
  • References/Lua/Lua/Language/Expressions

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

2025-01-10 15:47:30
Function Calls as Statements
  • References/Lua/Lua/Language/Statements

3.3.6 – Function Calls as Statements To allow possible side-effects, function calls can be executed as statements: stat ::= functioncall

2025-01-10 15:47:30
package.loadlib()
  • References/Lua/Lua/Standard Libraries/Modules

package.loadlib (libname, funcname) Dynamically links the host program with the C library libname. If funcname is "*", then it

2025-01-10 15:47:30
xpcall()
  • References/Lua/Lua/Standard Libraries/Basic Functions

xpcall (f, msgh [, arg1, ···]) This function is similar to pcall, except

2025-01-10 15:47:30