home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
164.lha
/
ARexx
/
TXed_ARexx
/
endit.txed
next >
Wrap
Text File
|
1988-04-28
|
702b
|
19 lines
/* End a ref entry */
/* Call this macro to end a ref definition when the cursor is on the last
line you wish to be displayed when a ref command is executed. This blindly
completes an entry into 's:txed.ref' assuming that you started it with
'markit.txed', so be careful. If you forget to call this macro or call it
twice in a row, then s:txed.ref will be corrupt. You can easily fix it
with your favorite TeXt EDitor though. */
options results
if (~exists('s:txed.ref')) then do
say 's:txed.ref does not exist, first run markit!'
exit
end
call open(reffile,'s:txed.ref','A')
'ST R'
line = word(result,2)
call writech(reffile,line)
call writeln(reffile,'@')
call close(reffile)