About 647,000 results
Open links in new tab
  1. 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...

  2. 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 …

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

    Difference between . and : in Lua Asked 14 years, 11 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. installation - How to install Lua on windows - Stack Overflow

    I'm new to Lua, and need to know how to install it on Windows? I've tried and am unable to run the sample. When I try to compile it 100% success is shown, but when I click the run button it shows t...

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

  8. 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.)

  9. How to iterate individual characters in Lua string?

    As for the pure Lua solutions, let me share this small benchmark, I've made. It covers every provided answer to this date and adds a few optimizations. Still, the basic thing to consider is: How many …

  10. Convert JSON String to Lua Table? - Stack Overflow

    Apr 15, 2017 · 29 I need to convert a Json String to a table data structure in Lua. I am using the following code.