Dictionaries are awesome for this. You can return as many or as few values as you want. No need to have multiple return values.
And I’m distressed when Thom says that Pair might not make it into the new framework. I would sure hope so! Pairs are wonderful. However, it’s not entirely impossible to simulate a pair with a dictionary.
[quote=200175:@Jon Ogden]Dictionaries are awesome for this. You can return as many or as few values as you want. No need to have multiple return values.
And I’m distressed when Thom says that Pair might not make it into the new framework. I would sure hope so! Pairs are wonderful. However, it’s not entirely impossible to simulate a pair with a dictionary.[/quote]