Pair.Constructor(left as Variant, right as Variant)

From Xojo Documentation

Constructor
Pair.Constructor(left as Variant, right as Variant)

Creates a Pair instance that is populated by the passed values.

Notes

You can also use the ":" operator to assing the values:

Sample Code

The following creates the pair 1:2:

Dim p As New Pair(1, 2)

You can also use the : operator, so the following is equivalent:

Dim p As Pair = 1 : 2