home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega CD-ROM 1
/
megacd_rom_1.zip
/
megacd_rom_1
/
CLIPPER
/
NANNWS24.ZIP
/
ESC_ALT.PRG
< prev
next >
Wrap
Text File
|
1988-05-18
|
771b
|
30 lines
* Program: ESC_ALT.PRG
* Author: Steve Hillbourne
* Version: Clipper Summer '87
* Notes: Alter "ABORT Y/N" message when ESCAPE is hit during
* MEMOEDIT().
* Copyright (c) 1988 Nantucket Corp.
*
CLEAR
USE file
memo = " "
MEMOEDIT(memo,2,0,5,35,.T.,"ufunc")
modified = (LASTKEY() <> 27)
IF modified && Check if updated
REPLACE memofield WITH memo
ELSE
INKEY(2) && Pause then erase
@ 0,60 SAY SPACE(16) && message.
ENDIF
RETURN
FUNCTION ufunc
PARAMETERS stat,line,col && Three parameters passed.
IF LASTKEY() = 27 && If ESCAPE is hit, display
@ 0,60 SAY "MEMO NOT UPDATED" && message.
ENDIF
RETURN 0
* EOP: ESC_ALT.PRG