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

lua_Integer typedef ... lua_Integer; The type of integers in Lua. By default this type is long long, (usually

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

luaL_prepbuffsize[-?, +?, m] char *luaL_prepbuffsize (luaL_Buffer *B, size_t sz); Returns an address

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

3.4.10 – Function Calls A function call in Lua has the following syntax: functioncall ::= prefixexp args In a function call, first prefixexp

2025-01-10 15:47:30
debug.debug()
  • References/Lua/Lua/Standard Libraries/The Debug Library

debug.debug () Enters an interactive mode with the user, running each string that the user enters. Using simple commands and other debug facilities, the user can inspect global

2025-01-10 15:47:30
For Statement
  • References/Lua/Lua/Language/Statements

3.3.5 – For Statement The for statement has two forms: one numerical and one generic. The numerical for loop repeats a block of code while a control variable runs through

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

luaL_addchar[-?, +?, m] void luaL_addchar (luaL_Buffer *B, char c); Adds the byte c

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

lua_setmetatable[-1, +0, –] void lua_setmetatable (lua_State *L, int index); Pops a table from the stack

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

lua_pushvalue[-0, +1, –] void lua_pushvalue (lua_State *L, int index); Pushes a copy of the element at

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

math.random ([m [, n]]) When called without arguments, returns a pseudo-random float with uniform distribution in the range [0,1). When called with two integers m

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

string.lower (s)

2025-01-10 15:47:30