debug.getlocal()
  • References/Lua/Lua/Standard Libraries/The Debug Library

debug.getlocal ([thread,] f, local) This function returns the name and the value of the local variable with index local of the function at level f of

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

string.reverse (s)s

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

lua_Writer typedef int (*lua_Writer) (lua_State *L, const void* p, size_t sz,

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

lua_pushlstring[-0, +1, m] const char *lua_pushlstring (lua_State *L, const char *s, size_t len);

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
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
error()
  • References/Lua/Lua/Standard Libraries/Basic Functions

error (message [, level])messageerror Usually, error adds some information about the error position at the beginning of the message, if

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

string.len (s)"""a\000bc\000"

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

string.unpack (fmt, s [, pos]) Returns the values packed in string s (see

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

lua_upvaluejoin[-0, +0, –] void lua_upvaluejoin (lua_State *L, int funcindex1, int n1,

2025-01-10 15:47:30