enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Module:Yesno/doc - Wikipedia

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

    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. It also returns nil values as nil, to allow for distinctions between nil and false. The module also ...

  3. Module:Yesno - Wikipedia

    en.wikipedia.org/wiki/Module:Yesno

    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. It also returns nil values as nil, to allow for distinctions between nil and false. The module also ...

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

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

    Only false and nil are false. Even "" is true. Tables can have both numeric and string entries. The two don't overlap. t [1] is distinct from t ["1"]. Uninitialized variables and nonexistent fields in tables are nil. or and and both have shortcut evaluation. = is assignment, == is equality comparison. not is boolean negation, but ~= is ...

  5. Wikipedia : Guide to Scribbling

    en.wikipedia.org/wiki/Wikipedia:Guide_to_Scribbling

    nil is the same as false as far as or is concerned. Lua's or operator has what are known as "shortcut" semantics. If the left-hand operand evaluates to something that isn't false or nil , it doesn't bother even working out the value of the right-hand operand.

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

  7. Module:TableTools - Wikipedia

    en.wikipedia.org/wiki/Module:TableTools

    Takes an array t with one or more nil values, and removes the nil values while preserving the order, so that the array can be safely traversed with ipairs. Any keys that are not positive integers are removed. For example, for the table {1, nil, foo = 'bar', 3, 2}, compressSparseArray will return {1, 3, 2}.

  8. Module:Lua class - Wikipedia

    en.wikipedia.org/wiki/Module:Lua_class

    This module provides utilities for declaring classes in Lua code. It ... (ClassName) instances would fail with checkType if classinfo == nil then return false end ...

  9. Module:Lua lexer - Wikipedia

    en.wikipedia.org/wiki/Module:Lua_lexer

    Main page; Contents; Current events; Random article; About Wikipedia; Contact us; Pages for logged out editors learn more