This example uses the Choose function to display a name in response to an index passed into the procedure in the Ind parameter.
Ind
Function GetChoice(Ind As Integer) GetChoice = Choose(Ind, "Speedy", "United", "Federal") End Function