int32.positive s
int32.positive o
int32 nr
int32 1
int32 2
int32 3
int32 4
int32 5
int32 6
int32 7
int32 8
switch (inlet_s > 0 ? inlet_s - 1 : 0) {
case 0:
outlet_o = param_1;
break;
case 1:
outlet_o = param_2;
break;
case 2:
outlet_o = param_3;
break;
case 3:
outlet_o = param_4;
break;
case 4:
outlet_o = param_5;
break;
case 5:
outlet_o = param_6;
break;
case 6:
outlet_o = param_7;
break;
case 7:
outlet_o = param_8;
break;
default:
outlet_o = param_8;
break;
}
outlet_nr = inlet_s;