new language feature ?

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]

Or a structure.

Here - pairs - but no special syntax for the : operator

[code]Class Pair
Constructor( left as Auto, right as Auto )
self.left = left
self.right = right
end constructor

Computed Property Left As Auto
Get
Return mLeft
End Get
Set
End Set

Computed Property Right As Auto
Get
Return mRight
End Get
Set
End Set

private property mLeft as Auto
private property mRight as Auto
end class[/code]

So why not add Pairs as a true type in the new framework? Just because it’s easily done like this? I find them quite useful.

We’ve not said they will or won’t be
They just aren’t there right now
More important things to get done (like 64 bit pi etc)