Oh, okay. So what does the <= operator do in that context?
Oh, okay. So what does the <= operator do in that context?
Exactly what you would expect from that expression : compares if the result of (a <= b) [which is either 0 or 1] is greater or equal to c.
The problem is that you didn't want to compare if the boolean value of (a <= b) is greater or equal to c, you wanted to compare if c is greater or equal to b as well as a <= b.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.