Thanks very much for yr quick and clear answers, so I understand why trying to play with strings was not going in the right direction.
In the swithCase2 example, the pin are consecutive, but undertand the array would be a solution if that was not the case.
Cheers
Philippe ![]()