in reply to limits
A few points, if you know how to test whether something is in the range, you know how to test whether something is outside of the range. Either you are inside, or outside. So to test whether something is outside of the range, just test whether it's not inside the range.
Also, if you are doing numerical compares, you should use the numerical comparison operators: <, <=, ==, >=, > and <=>. gt and lt and friends are for alphabetic compares.
Abigail
|
|---|