User contributions
From OpenEUO
(newest | oldest) View (newer 20 | older 20) (20 | 50 | 100 | 250 | 500)
- 18:27, 7 October 2010 (diff | hist) . . (+417) . . N Unpack (Created page with " unpack (list [, i [, j]]) Returns the elements from the given table. This function is equivalent to return list[i], list[i+1], ···, list[j] except that the above code ...")
- 18:26, 7 October 2010 (diff | hist) . . (+224) . . N Type (Created page with " type (v) Returns the type of its only argument, coded as a string. The possible results of this function are "nil" (a string, not the value nil), "number", "string", "boolean", ...")
- 18:25, 7 October 2010 (diff | hist) . . (+348) . . N Tostring (Created page with " tostring (e) Receives an argument of any type and converts it to a string in a reasonable format. For complete control of how numbers are converted, use string.format. If the m...")
- 18:25, 7 October 2010 (diff | hist) . . (+711) . . N Tonumber (Created page with " tonumber (e [, base]) Tries to convert its argument to a number. If the argument is already a number or a string convertible to a number, then tonumber returns this number; othe...")
- 18:22, 7 October 2010 (diff | hist) . . (+73) . . Setmetatable
- 18:21, 7 October 2010 (diff | hist) . . (+308) . . N Setmetatable (Created page with " setmetatable (table, metatable) Sets the metatable for the given table. (You cannot change the metatable of other types from Lua, only from C.) If metatable is nil, removes the...")
- 18:21, 7 October 2010 (diff | hist) . . (+48) . . Setfenv
- 18:20, 7 October 2010 (diff | hist) . . (+365) . . N Setfenv (Created page with " setfenv (f, table) Sets the environment to be used by the given function. f can be a Lua function or a number that specifies the function at that stack level: Level 1 is the fu...")
- 18:19, 7 October 2010 (diff | hist) . . (+206) . . N Select (Created page with " select (index, ···) If index is a number, returns all arguments after argument number index. Otherwise, index must be the string "#", and select returns the total number of ...")
- 18:19, 7 October 2010 (diff | hist) . . (+297) . . N Rawset (Created page with " rawset (table, index, value) Sets the real value of table[index] to value, without invoking any metamethod. table must be a table, index any value different from nil, and value...")
- 18:17, 7 October 2010 (diff | hist) . . (+213) . . N Rawget (Created page with " rawget (table, index) Gets the real value of table[index], without invoking any metamethod. table must be a table; index may be any value. [http://www.lua.org/manual/5.1/manua...")
- 18:16, 7 October 2010 (diff | hist) . . (+178) . . N Rawequal (Created page with " rawequal (v1, v2) Checks whether v1 is equal to v2, without invoking any metamethod. Returns a boolean. [http://www.lua.org/manual/5.1/manual.html#2.8 Lua Manual - Metatables]")
- 18:15, 7 October 2010 (diff | hist) . . (+324) . . N Print (Created page with " print (···) Receives any number of arguments, and prints their values to the feedback window, using the tostring function to convert them to strings. print is not intended fo...")
- 18:14, 7 October 2010 (diff | hist) . . (+516) . . N Pcall (Created page with " pcall (f, arg1, ···) Calls function f with the given arguments in protected mode. This means that any error inside f is not propagated; instead, pcall catches the error and ...")
- 18:11, 7 October 2010 (diff | hist) . . (+12) . . Pairs (current)
- 18:11, 7 October 2010 (diff | hist) . . (+1) . . Next (current)
- 18:11, 7 October 2010 (diff | hist) . . (+10) . . Next
- 18:11, 7 October 2010 (diff | hist) . . (+280) . . N Pairs (Created page with "pairs (t) Returns three values: the next function, the table t, and nil, so that the construction for k,v in pairs(t) do body end will iterate over all key–value pairs ...")
- 18:10, 7 October 2010 (diff | hist) . . (+935) . . N Next (Created page with " next (table [, index]) Allows a program to traverse all fields of a table. Its first argument is a table and its second argument is an index in this table. next returns the nex...")
- 18:08, 7 October 2010 (diff | hist) . . (+229) . . N Loadstring (Created page with " loadstring (string [, chunkname]) Similar to loadfile, but gets the chunk from the given string. To load and run a given string, use the idiom assert(loadstring(s))() W...")
(newest | oldest) View (newer 20 | older 20) (20 | 50 | 100 | 250 | 500)