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

  3. How to check if a table contains an element in Lua?

    How to check if a table contains an element in Lua? Asked 15 years, 11 months ago Modified 4 years, 10 months ago Viewed 326k times

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

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

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

    ¹ Lua is a very minimalistic language. It tries to have as few features as it can get away with, and a continue statement isn't an essential feature in that sense.

  7. How can I make an GUI Application in Lua - Stack Overflow

    I've been studying Lua for around a week now, and I'm really curious of how I would do this. Basically (for now, and learning purposes), I just want to make a GUI with 2 buttons, 1 to start the specified …

  8. How to get number of entries in a Lua table? - Stack Overflow

    @rboy true but the point is, in Lua assigning nil to a table key means deleting it. There's no way to distinguish between keys with nil values and keys with no value, regardless of method.

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

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