home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases
- Path: sparky!uunet!kithrup!stanford.edu!ames!pacbell.com!network.ucsd.edu!munnari.oz.au!metro!seagoon.newcastle.edu.au!cc.newcastle.edu.au!cslib
- From: cslib@cc.newcastle.edu.au (DOUGLAS SCOTT)
- Subject: Help with Clipper5.01!!
- Message-ID: <1992Aug29.161928.1@cc.newcastle.edu.au>
- Summary: Multiple-to-single reads and knowing the variable's value
- Keywords: Clipper, Read
- Lines: 28
- Sender: news@seagoon.newcastle.edu.au
- Reply-To: john@pleiades.newcastle.edu.au
- Organization: University of Newcastle, AUSTRALIA
- Date: Sat, 29 Aug 1992 06:19:28 GMT
-
-
- I am new to clipper and have one major question. How can I perform
- a multiple read and still be able to obtain the variables that are read?
-
- Example: @ 1,1 SAY "Enter first variable:" COLOR "w+/b"
- @ 1,20 GET M->var1 PICTURE "XXXX" COLOR "bg+/b"
-
- IF M->var1 == "TEST"
- @ 2,1 SAY "Enter second variable:" COLOR "w+/b"
- @ 2,20 GET M->var2 PICTURE "9999" COLOR "bg+/b"
- ENDIF
-
- READ
-
-
- All I want to do is to be able to check each variable as it is entered
- in the respective field. Is there an easy way?
-
- I tried LOOPER() in the super.lib, but although it will give the effect
- of multiple reads with a single read statement, it still does not allow you
- to obtain the entered value before terminating the complete read.
-
- If anyone knows of an easy way of doing this I would appreciate it if
- they could tell me how, or even better show me some source code.
-
- Thanks for any help.
-
- Jonathan Coombes
-