Lua is a powerful, fast, lightweight, embeddable scripting language.
What's the most efficient way to determine if a table is empty (that is, currently contains neither array-style values nor …
lua lua-tableI need a list of directory in LUA Suppose I have a directory path as "C:\Program Files" I need …
lua filenames directory-listingI want to check, if a number is divisible by another number: for i = 1, 100 do if i % 2 == 0 then print( i .. " …
math lua moduloI want to create a header file in Lua (header.lua), then execute the require function to load it. How …
header lua requireRecently I wrote a bit of Lua code something like: local a = {} for i = 1, n do local copy = a -- …
lua lua-tableHow can I set a lower and upper bound value for a variable in a if-statement in lua programming language? …
if-statement lua coronasdkIn my lua program, i want to stop and ask user for confirmation before proceeding with an operation. I'm not …
lua user-input blocking waitI wish to do lua prog.lua arg1 arg2 from the command line Inside prog.lua, I want to say, …
command-line lua interactiveI want to exit execution of Lua script on some condition . Example : content = get_content() if not content then -- ( …
lua