A
almurph
Hi,
Hope you can help me with this one. I find the following line of
code (specifically the contents of the if statement) I quite
confusing. What does it mean and can it be simplified?
SomeFunc() takes 2 parameters and returns a type float which is
compared to Limit (which is also type float). that's fin I understand
that, but its the next part that I find confusing the "== (V == 1)"
part...
if ( (SomeFunc(Item, Col) <= Limit) == (V == 1))
Would appreciate any comments/suggestions/code-simplifications that
you may be able to offer.
Thank you,
Al.
Hope you can help me with this one. I find the following line of
code (specifically the contents of the if statement) I quite
confusing. What does it mean and can it be simplified?
SomeFunc() takes 2 parameters and returns a type float which is
compared to Limit (which is also type float). that's fin I understand
that, but its the next part that I find confusing the "== (V == 1)"
part...
if ( (SomeFunc(Item, Col) <= Limit) == (V == 1))
Would appreciate any comments/suggestions/code-simplifications that
you may be able to offer.
Thank you,
Al.