Chunks
  • References/Lua/Lua/Language/Statements

3.3.2 – Chunks The unit of compilation of Lua is called a chunk. Syntactically, a chunk is simply a block: chunk ::= block Lua

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

lua_tonumber[-0, +0, –] lua_Number lua_tonumber (lua_State *L, int index); Equivalent to

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

3.4.8 – Precedence Operator precedence in Lua follows the table below, from lower to higher priority: or and < > <= >=

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

package.loaded A table used by require to control which modules are already loaded

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

io.write (···) Equivalent to io.output():write(···).

2025-01-10 15:47:30
math.pi
  • References/Lua/Lua/Standard Libraries/Mathematical Functions

math.pi The value of π.

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

require (modname) Loads the given module. The function starts by looking into the package

2025-01-10 15:47:30
math.tan()
  • References/Lua/Lua/Standard Libraries/Mathematical Functions

math.tan (x) Returns the tangent of x (assumed to be in radians).

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

luaL_getsubtable[-0, +1, e] int luaL_getsubtable (lua_State *L, int idx, const char *fname); Ensures

2025-01-10 15:47:30
lua_gethook
  • References/Lua/Lua/API/The Debug Interface

lua_gethook[-0, +0, –] lua_Hook lua_gethook (lua_State *L); Returns the current hook function.

2025-01-10 15:47:30