
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...
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.
Newest 'lua' Questions - Stack Overflow
Jan 7, 2026 · 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.
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.)
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
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.
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...
Boolean "not equal to" in Lua (negation of a Boolean conditional)
Jul 7, 2023 · 15 How do I write an if statement in Lua that negates (inverts/flips) a Boolean variable used as the condition? For example, in Java, one can write:
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.
How do I append to a table in Lua - Stack Overflow
Dec 4, 2025 · How do I append to a table in Lua Asked 11 years, 1 month ago Modified 1 month ago Viewed 295k times