I believe the KoP GTSs use a phased output (Phase A/B) one rises before the other dependent on directionality of the passings... Kevin Watson has explained this much better than I can. So short answer, no it doesnt count back down, long answer yes, if you do it right.
The syntax for a switch statement is as follows:
Code:
switch(condition){
case 1:
//if condition = 1
break;
case 2:
//if condition = 2
break;
case 3:
case 4:
//if condition = 3 or 4
break;
case 5:
//if condition = 5
case 6:
//if condition = 5 or 6
break;
case else:
//all other cases
break;
}