select one output from a series of inputs
group DVswitch {
group+IPort2 &in[];
int+IPort2 index;
olink+nres out => in[index];
};
DVswitch creates a new output that is selected by the user from any number or type of inputs.
An array of references to other objects.
An integer that selects which of the input objects to output.
The output is a new object that contains a reference to one of the input objects.