my preferred version is the one where I don't need to write a complicated test checking the truth table, to be sure it works.
see Re^3: Range check with unordered limits (updated)
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^4: Range check with unordered limits
by LanX
in thread Range check with unordered limits
by hexcoder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |