warren631:
...if..else....not very elegant....must be something better....
You have a bunch of conditionals to check. You really don't need the "else" aspect. If the value is 10, it is only going to be true in one range.
warren631:
...if..else....not very elegant....must be something better....
You have a bunch of conditionals to check. You really don't need the "else" aspect. If the value is 10, it is only going to be true in one range.