The value is in error if it is out of range. For example, if only the lower bound of zero is supplied, then you check to see if the value is 0. Range check on a character variable. The user will supply the name of the character variable and the lower and upper bounds of the range. The value is in error if it is out of range.
Valid values check on a numeric variable.
Check to see if the value is contained in a list of values. The user will supply the name of the numeric variable and the list of valid values. The value is in error if it is not contained in the list. Valid values check on a character variable. Check to see if the value is contained in a list of values.