enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Module:Random - Wikipedia

    en.wikipedia.org/wiki/Module:Random

    -- The default format is the standard Wikipedia timestamp. local lang = mw. language. getContentLanguage local function getDate (format, ts) local success, date = pcall (lang. formatDate, lang, format, ts) if success then return date end end local function getUnixTimestamp (ts) local unixts = getDate ('U', ts) if unixts then return tonumber ...

  3. Help:Lua for beginners - Wikipedia

    en.wikipedia.org/wiki/Help:Lua_for_beginners

    Function names are often of the form p.myFunctionName, where p is the table from the return p at the bottom of your program. The reason for this is that you can only access functions that are entries in this table from the original #invoke statement. Functions for local use within the program can have any name.

  4. Module:Math - Wikipedia

    en.wikipedia.org/wiki/Module:Math

    Most functions in the module have a version for Lua and a version for #invoke. It is possible to use the #invoke functions from other Lua modules, but using the Lua functions has the advantage that you do not need to access a Lua frame object. Lua functions are preceded by _, whereas #invoke functions are not.

  5. 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.

  6. Lua (programming language) - Wikipedia

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

    Marshalling data between C and Lua functions is also done using the stack. To call a Lua function, arguments are pushed onto the stack, and then the lua_call is used to call the actual function. When writing a C function to be directly called from Lua, the arguments are read from the stack. Here is an example of calling a Lua function from C:

  7. List of applications using Lua - Wikipedia

    en.wikipedia.org/wiki/List_of_applications_using_Lua

    Aerospike Database uses Lua as its internal scripting language for its 'UDF' (User Defined Function) capabilities, similar to procedures; Apache HTTP Server can use Lua anywhere in the request process (since version 2.3, via the core mod_lua module).

  8. Module:Lua class - Wikipedia

    en.wikipedia.org/wiki/Module:Lua_class

    Main page; Contents; Current events; Random article; About Wikipedia; Contact us

  9. Wikipedia:Lua - Wikipedia

    en.wikipedia.org/wiki/Wikipedia:Lua

    Also, all Lua in the page is limited to 10 seconds CPU time (you can look in the source code of a rendered page to see how long a template or module took to parse). And relative to standard Lua, Scribunto's Lua lacks all sorts of functions (see mw:Extension:Scribunto/Lua reference manual § Differences from standard Lua).