Basically there is this bunch of data that needs to go across. This data includes enums, integers, etc...
These variables have to be range checked to make sure they are between 1-20, 5-32, and all other ranges.
If ANY of the range checks on any single variable fails, then the message does not go across.
What is a simpler way to do this besides lump all the range checks for every variable in a single if statement? There are several different ranges.
Tags: