enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Help:Lua for beginners - Wikipedia

    en.wikipedia.org/wiki/Help:Lua_for_beginners

    The script at Module:LuaCall has been written to accept any set of named parameters somename=value, for each one storing the string value in the variable with the name somename, and then allowing you to use these variables as parameters for any function available in Lua. The script then returns only the first value returned by the function (Lua ...

  3. Wikipedia : Guide to Scribbling/Programmers' Quick start ...

    en.wikipedia.org/wiki/Wikipedia:Guide_to...

    String operations trade space for time. Don't repeatedly concatenate onto the end of a string. Build up its individual parts in a table and use table.concat (). * by the reciprocal is faster than /. return and break can only occur at the end of a block. There's no continue. There's no goto. next is a global variable, not a keyword. By default ...

  4. Help:Lua debugging - Wikipedia

    en.wikipedia.org/wiki/Help:Lua_debugging

    Let's take a practical example. for this example, assume your user name is "Lua Developer". Let's say you want to test a bug-fix or enhancement to the String module. There are two reasons you can't do it directly: this module contains functions that are used by hundreds of templates, transcluded in millions of articles.

  5. Module:UnitTests - Wikipedia

    en.wikipedia.org/wiki/Module:UnitTests

    The following is a sample from Module: ... -- UnitTester provides unit testing for other Lua scripts. For details see [[Wikipedia:Lua#Unit_testing]]. ... end, concat ...

  6. Wikipedia:Lua/Resources - Wikipedia

    en.wikipedia.org/wiki/Wikipedia:Lua/Resources

    Scribunto Lua reference manual; Programming in Lua; Introduction to Lua patterns; About regex. Lua "patterns" are based on Regex (Patterns are a reduced set of regex). Help:Lua metamodules: Lua in Wikipedia has several meta-modules available that can make core functions easily available.

  7. Wikipedia:Lua - Wikipedia

    en.wikipedia.org/wiki/Wikipedia:Lua

    A sample of Lua is highlighted by tag <syntaxhighlight lang="lua">...</syntaxhighlight> placed around the Lua source code. To view some more complex examples of Lua, see article: "Lua (programming language)". For instructions on how to use Lua within MediaWiki (and hence Wikipedia), see mw:Extension:Scribunto/Lua reference manual.

  8. Lua (programming language) - Wikipedia

    en.wikipedia.org/wiki/Lua_(programming_language)

    Lua scripts may load extension modules using require, [20] just like modules written in Lua itself, or with package.loadlib. [22] When a C library is loaded via require ( 'foo' ) Lua will look for the function luaopen_foo and call it, which acts as any C function callable from Lua and generally returns a table filled with methods.

  9. Help:Lua - Wikipedia

    en.wikipedia.org/wiki/Help:Lua

    Help:Lua for beginners; Help:Lua debugging – about debugging Lua modules; Wikipedia:Lua style guide – standards to improve the readability of code through consistency; Module:Sandbox provides a pseudo-namespace for experimenting with Lua modules