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

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

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

luaL_addsize[-?, +?, –] void luaL_addsize (luaL_Buffer *B, size_t n); Adds to the buffer B

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

math.fmod (x, y) Returns the remainder of the division of x by y that rounds the quotient towards zero. (integer/float)

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
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_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
io.write()
  • References/Lua/Lua/Standard Libraries/Input and Output Facilities

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

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

lua_getallocf[-0, +0, –] lua_Alloc lua_getallocf (lua_State *L, void **ud); Returns the memory-allocation

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
io.input()
  • References/Lua/Lua/Standard Libraries/Input and Output Facilities

io.input ([file]) When called with a file name, it opens the named file (in text mode), and sets its handle as the default input file. When called with a file handle, it simply

2025-01-10 15:47:30