Posts

Showing posts from May, 2009

False condition comes true?

Image
This is a really weird bug I found in my program.
I have an "if" condition, which takes a boolean variable as its condition, the variable's name is bMember.
When I saw unexpected behaviour in my code and decided to debug it I saw the above surprising and un-understandable thing, the debug enters a falsed condition!?
look at the picture above and see for yourselves.

by the way, if someone knows why, please post a comment.

Chaiavi