home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
business
/
kws39e.zip
/
KWDEMO.PRG
< prev
next >
Wrap
Text File
|
1991-06-16
|
2KB
|
51 lines
* Program....: KWDEMO.PRG
* Author.....: Simon M. Campden-Main
* Date.......: April 24, 1991
* Version....: dBASE IV ver. 1.1
* MEMORY VARIABLES: mquit, mrecno,
* DBF FILES OPENED: F:\DBASE\CRG\BCODE\KWDEMO
* PROGRAMS CALLED: D:\DBASE\CRG\BCODE\KW
STORE SPACE(3) TO mquit
SET TALK OFF
CLEAR
!D:\DBASE\CRG\BCODE\KW /T
DO WHILE .T.
@ 1, 2 TO 3,78 DOUBLE COLOR R/
@ 4, 2 TO 17,78 DOUBLE COLOR R/
SET COLOR TO BG/
@ 2, 3 SAY "************** K N O W - W E D G E D E M O N S T R A;
T I O N *************"
@ 5, 3 CLEAR TO 16,76
USE F:\DBASE\CRG\BCODE\KWDEMO
GO BOTT
mrecno = RECNO()
DO WHILE .NOT. EOF()
SET COLOR TO BG/,B/W
@ 7, 5 SAY "QUANTITY:"
@ 7,15 GET Quantity PICTURE "9999";
MESSAGE "Scan or enter quantity."
@ 9, 5 SAY "DESCRIPTION: "
@ 9,19 GET Desc PICTURE "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
MESSAGE "Scan or enter description."
@11, 5 SAY "LOCATION: "
@11,16 GET Location PICTURE "XXXXXXXXXXXXXXXXXXXX" ;
MESSAGE "Scan or enter location."
@13, 5 SAY "DESTINATION: "
@13,19 GET Dest PICTURE "XXXXXXXXXXXXXXXXXXXX" ;
MESSAGE "Scan or enter destination."
@15, 5 SAY "RECORD NUMBER:"
@15,20 SAY mrecno
@15,40 SAY "QUIT? " GET mquit PICTURE "@M NO,YES";
MESSAGE "Press space bar to toggle."
READ
APPEND BLANK
mrecno = RECNO()
IF mquit = "NO"
LOOP
ELSE
!D:\DBASE\CRG\BCODE\KW /U /T
RETURN
ENDIF
ENDDO
ENDDO