Returning multiple values from functions in lua
snippet in lua

Returning multiple values from functions in lua

user2945

...
function test3()
    local var1, var2 = test()
    return var1, var2, 3
end

print(test3())