home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: bit.listserv.dbase-l
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!uvaarpa!murdoch!galen.med.Virginia.EDU!jw2b
- From: jw2b@galen.med.Virginia.EDU (Sara J. Wagner)
- Subject: Re: Flushing a read statement
- Message-ID: <1992Jul31.171308.648@murdoch.acc.Virginia.EDU>
- Sender: usenet@murdoch.acc.Virginia.EDU
- Organization: University of Virginia
- References: <9207311448.AA07840@snowhite.cis.uoguelph.ca>
- Date: Fri, 31 Jul 1992 17:13:08 GMT
- Lines: 26
-
-
- I set up something similar for my get subfunctions (assuming you're
- using Clipper). As best as I can remember (without looking it up):
-
- Do while !lcorrect
- @1,5 get variable
- ... (lots more)
- @ 24,5 say "Type Y or press CTRL-END to save, Esc to abort " get
- lcorrect picture "Y"
- read
- if lastkey() = K_CTRL_END
- lcorrect := .t.
- endif
- enddo
- if lastkey() != K_ESC
- (do something with the values)
- endif
-
- I can press CTRL-End anywhere in the read statements and have it
- register. Hope this helps.
-
- --
- Jane Wagner, Computer Systems and Publications Assistant
- The Claude Moore Health Sciences Library| INTERNET: jw2b@virginia.edu
- Box 234, UVA Health Sciences Center | PHONE: 804-924-0188
- Charlottesville, VA 22908 | BITNET: jw2b@virginia.bitnet
-