User contributions
From OpenEUO
(newest | oldest) View (newer 20 | older 20) (20 | 50 | 100 | 250 | 500)
- 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...")
- 18:07, 7 October 2010 (diff | hist) . . (+238) . . N Loadfile (Created page with " loadfile ([filename]) Loads a chunk from file filename. If there are no errors, returns the compiled chunk as a function; otherwise, returns nil plus the error message. The env...")
- 18:04, 7 October 2010 (diff | hist) . . (+248) . . N Ipairs (Created page with " ipairs (t) Returns three values: an iterator function, the table t, and 0, so that the construction for i,v in ipairs(t) do body end will iterate over the pairs (1,t[1])...")
- 18:02, 7 October 2010 (diff | hist) . . (+73) . . Getmetatable
- 18:00, 7 October 2010 (diff | hist) . . (+220) . . N Getmetatable (Created page with " getmetatable(object) If object does not have a metatable, returns nil. Otherwise, if the object's metatable has a "__metatable" field, returns the associated value. Otherwise, ...")
- 17:56, 7 October 2010 (diff | hist) . . (+319) . . N Getfenv (Created page with " getfenv ([f]) Returns the current environment in use by the function. f can be a Lua function or a number that specifies the function at that stack level: Level 1 is the functio...")
- 17:55, 7 October 2010 (diff | hist) . . (+559) . . N Error (Created page with " error (message [, level]) Terminates the last protected function called and returns message as the error message. Function error never returns. Usually, error adds some informa...")
- 17:54, 7 October 2010 (diff | hist) . . (+235) . . N Dofile (Created page with " dofile (filename) Opens the named file and executes its contents as a Lua chunk. Returns all values returned by the chunk. In case of errors, dofile propagates the error to its...")
- 17:52, 7 October 2010 (diff | hist) . . (+901) . . N Collectgarbage (Created page with " collectgarbage (opt [, arg]) This function is a generic interface to the garbage collector. It performs different functions according to its first argument, opt: * "stop": st...")
- 17:51, 7 October 2010 (diff | hist) . . (+219) . . N Assert (Created page with " assert (v [, message]) Issues an error when the value of its argument v is false (i.e., nil or false); otherwise, returns all its arguments. message is an error message; when a...")
- 17:49, 7 October 2010 (diff | hist) . . (+387) . . N G (Created page with "A global variable (not a function) that holds the global environment (that is, _G._G = _G). Lua itself does not use this variable; changing its value does not affect any environm...")
(newest | oldest) View (newer 20 | older 20) (20 | 50 | 100 | 250 | 500)