int32.positive s
int32 nr
bool32 output
bool32.tgl 1
bool32.tgl 2
bool32.tgl 3
bool32.tgl 4
bool32.tgl 5
bool32.tgl 6
bool32.tgl 7
bool32.tgl 8
bool32.tgl 9
bool32.tgl 10
bool32.tgl 11
bool32.tgl 12
bool32.tgl 13
bool32.tgl 14
bool32.tgl 15
bool32.tgl 16
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;
case 8:
outlet_o = param_9;
break;
case 9:
outlet_o = param_10;
break;
case 10:
outlet_o = param_11;
break;
case 11:
outlet_o = param_12;
break;
case 12:
outlet_o = param_13;
break;
case 13:
outlet_o = param_14;
break;
case 14:
outlet_o = param_15;
break;
case 15:
outlet_o = param_16;
break;
default:
outlet_o = param_16;
break;
}
outlet_nr = inlet_s;