About 747,000 results
Open links in new tab
  1. Lua operators, why isn't +=, -= and so on defined?

    Nov 20, 2013 · In Lua's case, the language is intended to be an embedded scripting language, so any changes that make the language more complex or potentially make the compiler/runtime even …

  2. What does # mean in Lua? - Stack Overflow

    I have seen the hash character '#' being added to the front of variables a lot in Lua. What does it do? EXAMPLE -- sort AIs in currentlevel table.sort (level.ais, function (a,b) return a.y < b...

  3. function - Difference between . and : in Lua - Stack Overflow

    Difference between . and : in Lua Asked 14 years, 10 months ago Modified 1 year, 4 months ago Viewed 80k times

  4. Inline conditions in Lua (a == b ? "yes" : "no")? - Stack Overflow

    May 3, 2013 · There is a nice article on lua-users wiki about ternary operator, together with problem explanation and several solutions.

  5. resources - Lua, what is Lua? - Stack Overflow

    Lua is a powerful, fast, lightweight, embeddable scripting language. Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics.

  6. Lua - if statement with two conditions on the same variable?

    Jan 24, 2012 · 20 How can I set a lower and upper bound value for a variable in a if-statement in lua programming language? I need something like the pseudocode below.

  7. How do I use the bitwise operator XOR in Lua? - Stack Overflow

    May 12, 2011 · How can I implement bitwise operators in Lua language? Specifically, I need a XOR operator/method.

  8. Newest 'lua' Questions - Stack Overflow

    Dec 20, 2025 · I’m working with an old, unsupported Lua addon (Lua 5.1/LuaJIT). Its entry script appears to be a Luraph-style bootstrap that eventually calls loadstring with a decompressed chunk.

  9. Boolean "not equal to" in Lua (negation of a Boolean conditional)

    Jul 7, 2023 · Boolean "not equal to" in Lua (negation of a Boolean conditional) Asked 11 years, 10 months ago Modified 2 years, 5 months ago Viewed 31k times

  10. Why does Lua have no "continue" statement? - Stack Overflow

    The Lua authors felt that continue was only one of a number of possible new control flow mechanisms (the fact that it cannot work with the scope rules of repeat/until was a secondary factor.)