It's because the compare is against variables with no NUM() limitations. When UV sees a non-numeric value, it switches to a data compare. The ASCII characters "1X" (DEC values 49 and 88) is between the ASCII characters "1" (DEC values 49 and 00) and "40" (DEC values 52 and 48).
Bob W > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:owner-u2- > [EMAIL PROTECTED] On Behalf Of Brenda Price > Sent: Friday, February 11, 2005 10:00 AM > To: [email protected] > Subject: RE: [U2] GE and LE question > > Will, > > Since the input can be several alpha characters as well as numeric. The > fix is listed below. > > CASE NUM(SEL) AND SEL GE 1 AND SEL LE MAX.VAL > > Thank you everyone for the responses. However, the programs were fixed > before I asked the question. The question was not how to fix the problem > but why it occurred. MAX.VAL represents the maximum attributes in a > record in some cases, in others the maximum number of multi-values. > > I just have a hard time visualizing why 1X is GE than 1 and LE 40 (from > the program I tracked the error to). We are assuming it has something to > do with Scientific notation. > > Brenda > ------- > u2-users mailing list > [email protected] > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
