home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
DATABASE
/
SCH110A.ZIP
/
DMMEMO.PRG
< prev
next >
Wrap
Text File
|
1993-02-23
|
499b
|
22 lines
*****
* A sample programmable text editor.
*****
*****
* "dmmemof" is the UDF() function that CUSTOM uses to control the
* editor...
*****
superbox(00,00,24,79,.t.,"▓",.f.)
superbox(04,09,21,71,.t.,"",.t.)
say(02,25," The Sample Text Editor ")
setcursor(.t.)
mv_udfname="dmmemof"
mvtext=memoedit(memoread("dmtext.txt"),5,10,20,70,.t.,"CUSTOM")
*****
* if desired, you can write the text back to disk with:
* memowrit("dmtext.txt",mvtext)
*****
setcursor(.f.)
return