string.sub()
  • References/Lua/Lua/Standard Libraries/String Manipulation

string.sub (s, i [, j])sijijjstring.sub(s,1,j)sjstring.sub(s

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

lua_yieldk[-?, +?, e] int lua_yieldk (lua_State *L, int nresults, lua_KContext

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
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
file:lines()
  • References/Lua/Lua/Standard Libraries/Input and Output Facilities

file:lines (···) Returns an iterator function that, each time it is called, reads the file according to the given formats. When no format is given, uses "l" as a

2025-01-10 15:47:30
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_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
lua_compare
  • References/Lua/Lua/API/Functions and Types

lua_compare[-0, +0, e] int lua_compare (lua_State *L, int index1, int index2, int op); Compares

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

lua_rawlen[-0, +0, –] size_t lua_rawlen (lua_State *L, int index); Returns the raw "length" of the value

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