That's what I thought too. But when I tried it in a test program, it didn't work.
It's not in the manual, even though it compiles without warnings. So I wasn't sure if it was valid.
I asked meLabs, and they said ...
"SELECT CASE isn't capable of logic in the cases. Never has been."
I quess you'll need to use IF statements instead of SELECT CASE.Originally Posted by kenif
Code:IF (A >= 5) AND (A <= 20) THEN ; something ELSE IF (A > 20) AND (A <= 40) THEN ; something else ENDIF ENDIF
Bookmarks