Hi,
Even basic logic doesn't seem to work !!!Can you tell me when the above is NOT evalutated true?Code:if Cvar => 1 or Cvar =< 10 then
When CVar is 0? When CVar is 8? When CVar is 11? When CVar is 25?
I think YOU like it better with AND rather than OR. The compiler and the PIC likes either one equally well - and it works as expected, just not the way YOU want it to.....EDIT... seems it likes if Cvar =>11 and Cvar =< 20 then... rather than OR
/Henrik.
Bookmarks