Re: PROMPT( 4GL)
Posted in 1998
You could do something like this. LET invalid_resp = TRUE WHILE invalid_resp PROMPT "Enter Catalogue number: " FOR catelog_num IF catelog_num MATCHES "[1234567890]*" THEN LET invalid_resp = FALSE END IF END WHILE And put whatever you want them to enter in the matches part of the IF statement. Bryan -- ---------------------------------------------------------------------------- -- Bryan Sapot Lawless Technology bsapot@lawless-tech.com "Get a life get Unix" AJAYP <AJAYP@inf.com> wrote in article <755b31$hh9$1@news.xmission.com>... > > Hi all, > Is there any way in which I can ensure that users enter only a specific > set of values and reject all other entries ? > I am using INFORMIX-4GL Version 7.20.UD4X1 and running Informix 7.30 ODS. > TIA, > Ajay > > >