syntax.us Let the syntax do the talking
Blog Contact Posts Questions Tags Hire Me

Question:
In Lua how to create a function?

The main thing to remember is to supply the keyword: "return"
function ima_function(x)
return "Ignore x, ima_function."
end

syntax.us Let the syntax do the talking
Blog Contact Posts Questions Tags Hire Me