Functions in Lua can return multiple results.
For example:
function triple(x)
return x, x, x
end
When calling a function, to save these values, you must use the following syntax:
local a, b, c = triple(5)
Which will result in a = b = c = 5 in this case. It is also possible to ignore r...