string.gmatch (s, pattern)pattern§6.4.1spattern As
luaL_typename[-0, +0, –] const char *luaL_typename (lua_State *L, int index); Returns the name of the type
io.type (obj) Checks whether obj is a valid file handle. Returns the string "file" if obj is an open file handle, "closed file"
lua_gc[-0, +0, m] int lua_gc (lua_State *L, int what, int data); Controls the garbage collector
lua_tonumberx[-0, +0, –] lua_Number lua_tonumberx (lua_State *L, int index, int *isnum); Converts the Lua
io.output ([file]) Similar to io.input, but operates
lua_status[-0, +0, –] int lua_status (lua_State *L); Returns the status of the thread L.
dofile ([filename])dofilestdindofiledofile
lua_getfield[-0, +1, e] int lua_getfield (lua_State *L, int index, const char *k); Pushes onto
3.3.3 – Assignment Lua allows multiple assignments. Therefore, the syntax for assignment defines a list of variables on the left side and a list of expressions on the right side. The elements
Page 2 of 36