file:read (···) Reads the file file, according to the given formats, which specify what to read. For each format, the function returns a string or a number with the
luaL_pushresult[-?, +1, m] void luaL_pushresult (luaL_Buffer *B); Finishes the use of buffer B
lua_numbertointeger int lua_numbertointeger (lua_Number n, lua_Integer *p); Converts a Lua float to a Lua integer. This macro assumes
lua_isnone[-0, +0, –] int lua_isnone (lua_State *L, int index); Returns 1 if the given index is not valid
lua_getmetatable[-0, +(0|1), –] int lua_getmetatable (lua_State *L, int index); If the value at the given
luaL_optlstring[-0, +0, v] const char *luaL_optlstring (lua_State *L, int arg
math.sin (x) Returns the sine of x (assumed to be in radians).
table.unpack (list [, i [, j]]) Returns the elements from the given list. This function is equivalent to return list[i], list[i+1]
luaL_traceback[-0, +1, m] void luaL_traceback (lua_State *L, lua_State *L1, const char *msg,
select (index, ···) If index is a number, returns all arguments after argument number index; a negative number indexes from the end (-1 is the last argument)
Page 18 of 36