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
string.reverse (s)s
lua_Writer typedef int (*lua_Writer) (lua_State *L, const void* p, size_t sz,
lua_pushlstring[-0, +1, m] const char *lua_pushlstring (lua_State *L, const char *s, size_t len);
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
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
error (message [, level])messageerror Usually, error adds some information about the error position at the beginning of the message, if
string.len (s)"""a\000bc\000"
string.unpack (fmt, s [, pos]) Returns the values packed in string s (see
lua_upvaluejoin[-0, +0, –] void lua_upvaluejoin (lua_State *L, int funcindex1, int n1,
Page 34 of 36