Will, As Larry pointed out, '1N0N' will allow 1 or more integers to pass, while the test for >= 1 and <= MAX.VAL limits the range. If MAX.VAL is 9 now, and is changed later to 10 or more, the same code will work. Regards, Charlie [EMAIL PROTECTED] (mailto:[EMAIL PROTECTED]) writes:
Why '1N0N' and not just '1N' ? Will In a message dated 2/13/2005 1:16:49 AM Pacific Standard Time, [EMAIL PROTECTED] writes: > CASE SEL MATCHES '1N0N' AND SEL >= 1 AND SEL <= MAX.VAL > > This forces each character of SEL to be an integer (0-9) and nothing else. > > Regards, > Charlie Noah ------- 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/
