Example - Return multiple values from a function in SE
stableDescription
Example - Return multiple values from a function in SE
HaasScript
function getTuple(x, y)
return x, y
end
local x, y = getTuple(10, 40)
Log(x) -- output: 10
Log(y) -- output: 40
0 Comments
Sign in to leave a comment.
No comments yet. Be the first!