in reply to Re^3: Range check with unordered limits
in thread Range check with unordered limits

I meant that one should check against 0 instead of 1, yes.

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

  • Comment on Re^4: Range check with unordered limits