home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 5
/
FreshFish_July-August1994.bin
/
bbs
/
dev
/
cpump-1.7.lha
/
CPump-1.7
/
EdErr.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-04-04
|
505b
|
21 lines
/* this ARexx invokes ed on error line selected by CTagSel */
arg errfile
/* show a ListView gadget of the functions and get selection */
address command 'CTagSel <' errfile
if RC > 0 then exit RC
selec=getclip('CTagSel')
tempfl=puttemp('m'||word(selec,4))
address command 'run Ed' word(selec,5) 'with' tempfl
exit 0
/* a subroutine to put a string in a temporary work file */
puttemp:
arg x
tfil='ram:temp1.txt'
i=open('temp1',tfil,'W')
i = writeln('temp1',x)
i=close('temp1')
return tfil