Make print() work versus tuples

It already does that… It’s a feature of Lua itself, if multiple values are returned on the stack and the call is placed in e.g. a function, they’ll pass all stack values to the function you call as expected (well, you get the idea).

true 1 2
false print(pcall(function() return 1, 2; end)); print(pcall(function() error('ERROR'); end));:1: ERROR```
2 Likes