luaL_Reg typedef struct luaL_Reg { const char *name; lua_CFunction func; } luaL_Reg; Type for arrays of functions to be registered
load (chunk [, chunkname [, mode [, env]]]) Loads a chunk. If chunk is a string, the chunk is this string. If chunk is a function, load
ipairs (t) Returns three values (an iterator function, the table t, and 0) so that the construction for i,v in ipairs(t)
lua_pushnil[-0, +1, –] void lua_pushnil (lua_State *L); Pushes a nil value onto the stack.
3.4.10 – Function Calls A function call in Lua has the following syntax: functioncall ::= prefixexp args In a function call, first prefixexp
lua_concat[-n, +1, e] void lua_concat (lua_State *L, int n); Concatenates the n values
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
math.randomseed (x) Sets x as the "seed" for the pseudo-random generator: equal seeds produce equal sequences of numbers.
string.unpack (fmt, s [, pos]) Returns the values packed in string s (see
Page 35 of 36