home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 10
/
Fresh_Fish_10_2352.bin
/
useful
/
util
/
edit
/
mg
/
rexx
/
clipclean.mg
< prev
next >
Wrap
Text File
|
1990-06-02
|
555b
|
23 lines
/*
* clipclean - cleans up all the clips it was told about by mgclip. This
* should be run via rexx-do-on-exit, when mg exits.
*
* To have it clean up a clip, just call mgclip with the name of the clip
* as a the argument. Clip names that aren't "words" by the definitions
* of Rexx won't get cleaned properly.
*/
clipname = "mg.cleanclips."
options failat 2
'rexx-unlock' /* Free the mg - we can't complain anyway... */
cliplist = getclip(clipname)
call setclip clipname
do i = 1 to words(cliplist)
call setclip word(cliplist, i)
end
exit