home *** CD-ROM | disk | FTP | other *** search
- * --------------------------------------
- * LINPRM23.PRG - GET A PARTICULAR KEY
- * --------------------------------------
- * define MSG as a str <75 chars before entering this routine
- * define TEST as a target string of chars to test FOR
- * define TZ as PUBLIC, and then initialize to " " before using this routine
- @ 23,1 say space(77)
- set color to 15/0
- @ 23,(80-len(msg))/2 say msg
- set color to 7/0
- tz=" "
- do while at(tz,test)=0
- tz=" "
- CLEAR GETS
- tkol=((80-len(msg))/2)+len(msg)+2
- if tkol>77
- tkol=77
- endif
- @ 23,tkol get tz picture "!"
- read
- enddo
- set color to 7/0
- @ 23,1 SAY SPACE(77)
- RETURN
-