Lua is a powerful, fast, lightweight, embeddable scripting language.
Is there a common way to get the current time in or with milliseconds? There is os.time(), but it …
time luaIn many languages you can concatenate strings on variable assignment. I have a scenario, using the Lua programming language, where …
lua concatenationIf I have a list of items like this: local items = { "apple", "orange", "pear", "banana" } how do I check if "…
list lua lua-tableI need to make a conditional that is true if a particular matching text is found at least once in …
string lua conditional string-matchingI was wondering if there was a way to read data from a file or maybe just to see if …
luaI know Love2D and Corona SDK (for mobile devices). Is there any other game engines that use Lua you …
lua game-engineI cant figure out how to get lua to do any common timing tricks, such as sleep - stop all …
luaHow would i do this? I got this: name = "^aH^ai" string.gsub(name, "^a", "") which should return "Hi", but …
string replace lua gsub lua-patternsIs it possible to read the following from the local variable in Lua? local t = os.execute("echo 'test'") print(…
lua shellexecuteI'm trying to figure out the equivalent of: foo = [] foo << "bar" foo << "baz" I don't want …
lua lua-table