in reply to Re: How do I restrict a variable to a range of values?in thread How do I restrict a variable to a range of values?