rawget()
  • References/Lua/Lua/Standard Libraries/Basic Functions

rawget (table, index)table[index]__indextableindex

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

print (···)stdouttostringprint

2025-01-10 15:47:30
coroutine.wrap()
  • References/Lua/Lua/Standard Libraries/Coroutine Manipulation

coroutine.wrap (f) Creates a new coroutine, with body f. f must be a function. Returns a function that resumes the coroutine each time it is called.

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

lua_CFunction typedef int (*lua_CFunction) (lua_State *L); Type for C functions. In order to communicate properly with Lua

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

lua_error[-1, +0, v] int lua_error (lua_State *L); Generates a Lua error, using the value at the

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

3.4.1 – Arithmetic Operators Lua supports the following arithmetic operators: +: addition -: subtraction *:

2025-01-10 15:47:30
string.dump()
  • References/Lua/Lua/Standard Libraries/String Manipulation

string.dump (function [, strip]) Returns a string containing a binary representation (a binary chunk) of the given function, so that a later

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

luaL_newlib[-0, +1, m] void luaL_newlib (lua_State *L, const luaL_Reg l[]); Creates a new table

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

io.flush () Equivalent to io.output():flush().

2025-01-10 15:47:30
Local Declarations
  • References/Lua/Lua/Language/Statements

3.3.7 – Local Declarations Local variables can be declared anywhere inside a block. The declaration can include an initial assignment: stat ::= local

2025-01-10 15:47:30