home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 3
/
goldfish_volume_3.bin
/
files
/
text
/
edit
/
macro
/
amigae
/
ec_flushmem.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-11-03
|
727b
|
24 lines
/* $VER: 1.0, ©1994 BURGHARD Eric. */
/*Free all file notifications, executables & Sources*/
options results /* enable return codes */
/* not started by GoldEd ? */
if (LEFT(ADDRESS(), 6) ~= "GOLDED") then address 'GOLDED.1'
signal on syntax /* ensure clean exit */
address command 'list >T:FlushList T:E/#?.e LFORMAT="%n"'
if (ok = open(fhandle,'T:E/FlushMem','Read'))~=0 then do
do while ~eof(fhandle)
file=readln(fhandle)
'NOTIFY FILE="'file'" STOP'
end
end
address command 'Delete T:E/#?'
exit
syntax:
say "Sorry, error line" SIGL ":" ERRORTEXT(RC) ":-("
'UNLOCK'
exit