Lua is a powerful, fast, lightweight, embeddable scripting language.
In Lua, there seem to be two ways of appending an element to an array: table.insert(t, i) and …
lua lua-tableAs the title says, what function or check can I do to find out if a lua element is a …
lua lua-tableHow would I terminate a Lua script? Right now I'm having problems with exit(), and I don't know why. (This …
lua minecraft computercraftWhat's the Lua to get the current working directory on Windows XP SP3 (or to get the directory of the …
windows-xp lua getcwdI'm trying to find out a way to use a multiline comment on a batch of code, but it keeps …
lua comments multilineIn a for loop, what is the difference between looping with pairs() and ipairs()? This page uses both: Lua Docs …
for-loop luaTorch is a scientific computing framework with wide support for machine learning algorithms. It is easy to use and efficient, …
lua windows-8.1 luajit torchI'm trying to call a function in Lua that accepts multiple 'number' arguments function addShape(x1, y1, x2, y2 ... xn, …
lua lua-tableThis is a question I've been mildly irritated about for some time and just never got around to search the …
lua language-design assignment-operator compound-assignmentmyTable = {} myTable["foo"] = 12 myTable["bar"] = "blah" print(#myTable) -- this prints 0 Do I actually have to iterate through the items …
lua hashtable