Lua is a powerful, fast, lightweight, embeddable scripting language.
I'm just starting out using Lua, and I was wondering (because I can't find it on the website) if Lua …
if-statement lua logicJust a straight forward beginner question, I am coding Lua stuff for Garrys Mod, learning by reading wiki and other …
string lua comparison equalsI need a Torch command that checks if two tensors have the same content, and returns TRUE if they have …
lua torchThis question is similar to How can I safely iterate a lua table while keys are being removed but distinctly …
luaIs there anyway to use inline conditions in Lua? Such as: print("blah: " .. (a == true ? "blah" : "nahblah"))
lua conditional ternaryDo you use require "name" or local name = require "name" Also, do you explicitly declare system modules as local variables? …
import module lua declaration requireI am really having trouble finding a good working Lua bytecode decompiler. I'm trying to decompile some scripting files I …
scripting lua bytecode decompilingI'm currently learning lua. regarding pattern-matching in lua I found the following sentence in the lua documentation on lua.org: …
regex lua lua-patternsHow do I delete all elements inside a Lua table? I don't want to do: t = {} table.insert(t, 1) t = {} …
lua lua-tableAny idea why this is wrong in Lua? if Pieza == 1 then if Rotacion == 1 then Piezas = Cuadrado1 else if Rotacion == 2 then …
lua if-statement