Originally Posted by
neandrake
Is this legal syntax for checking against numerous cases?
It is legal syntax, but it probably doesn't do what the original poster wanted, as
Code:
opp_input4 = !(input, input2, input3, input4, opp_input, opp_input2, opp_input3);
is equivalent of:
Code:
input, input2, input3, input4, opp_input, opp_input2;
opp_input4 = !(opp_input3);
The first of those two lines is completely pointless (except the compiler MAY cause some memory read operations to access the varaibles...)
--
Mats