This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have 3 if's in a row and the variable PTpe is tested against the values 1, 2 and 3 (in that order)
so it should choose the if statement with the appropriate value
However it ALLWAYS NO MATTER WHAT chosses ALL the if statements even thought it is not possible for the if test to be true with all 3
I will attach a picture that demonstrates everything
How could this be?
A bigger image