enow.com Web Search

Search results

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

    en.wikipedia.org/wiki/Module:Repr

    This module contains functions for generating string representations of Lua objects. ... will output the string {bool = true, number = 6, str = "hello world"}.

  3. Module:Repr/doc - Wikipedia

    en.wikipedia.org/wiki/Module:Repr/doc

    value: The value to convert to a string. This can be any Lua value. This parameter is optional, and defaults to nil. options: A table of options. This parameter is optional. The following options can be specified in the options table: pretty: If true, output the string in "pretty" format (as in pretty-printing). This will add new lines and ...

  4. Boolean data type - Wikipedia

    en.wikipedia.org/wiki/Boolean_data_type

    Lua has a Boolean data type, but non-Boolean values can also behave as Booleans. The non-value nil evaluates to false, whereas every other data type value evaluates to true. This includes the empty string "" and the number 0, which are very often considered false in other languages.

  5. Help:Lua for beginners - Wikipedia

    en.wikipedia.org/wiki/Help:Lua_for_beginners

    Note: Lua patterns are not regular expressions in the traditional POSIX sense, and they are not even a subset of regular expressions. But they share many constructs with regular expressions (more below). Lua patterns are used to define, find and handle a pattern in a string. It can do the common search and replace action in a text, but it has ...

  6. Template:Lua autodoc - Wikipedia

    en.wikipedia.org/wiki/Template:Lua_autodoc

    Permits article to be edited in VisualEditor. (boolean; optional) options.colon Format tags with a : suffix and without the @ prefix. This bypasses the "doctag soup" some authors complain of. (boolean; optional) options.image Infobox image. (string; optional) options.noluaref Don't link to the Lua reference manual for types. (boolean; optional)

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

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

    If it isn't a table, it's a string, a number, a boolean, a function, or a nil. Libraries are tables. string.gmatch is the "gmatch" entry in the table named by the global variable string. Arguments that you receive from MediaWiki are tables. But they're a bit special. Arrays are tables that follow a specific convention.

  8. Module:Yesno - Wikipedia

    en.wikipedia.org/wiki/Module:Yesno

    This module provides a consistent interface for processing boolean or boolean-style string input. While Lua allows the true and false boolean values, wikicode templates can only express boolean values through strings such as "yes", "no", etc. This module processes these kinds of strings and turns them into boolean input for Lua to process.

  9. Wikipedia : Lua string functions

    en.wikipedia.org/wiki/Wikipedia:Lua_string_functions

    The string-search functions in Lua script can run extremely fast, comparing millions of characters per second. For example, a search of a 40,000-character article text, for 99 separate words (passed as 99 parameters in a template), ran within one second of Lua CPU clock time.