home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD2.bin
/
bbs
/
biz
/
dfa-2.2.lha
/
DFA
/
Rexx
/
ArexxScripts.lha
/
export_tex.dfa
< prev
next >
Wrap
Text File
|
1994-09-16
|
1KB
|
69 lines
/* $Revision Header built automatically *************** (do not edit) ************
**
** © Copyright by Dirk Federlein
**
** File : export_tex.dfa
** Created on : Monday, 04.04.94 17:10:26
** Created by : Dirk Federlein
** Current revision : V2.0
**
**
** Purpose
** -------
**
** Exports marked addresses to a file that you can use in connection
** with TeX and its mailmerge function.
**
**
** Feel free to insert additional fields or remove existing ones
**
**
** Revision V2.0
** --------------
** created on Monday, 04.04.94 17:10:26 by Dirk Federlein. LogMessage :
** --- Initial release ---
**
*********************************************************************************/
options results
tabchar = '09'X
cr = '0A'X
exportfile = 't:dfa_tex.export'
if ~show(ports, DFA) then
do
exit 10
end
if open('exfh',exportfile,'W') then
do
address 'DFA'
FIRST STEM ADR.
if ADR.ADDRESS.24 = 0 then
NEXTSEL STEM ADR.
do while RC = 0
writech('exfh', '{')
writech('exfh', ADR.ADDRESS.0)
writech('exfh', ('\\ '))
writech('exfh', ADR.ADDRESS.1||' '||ADR.ADDRESS.2||'\\ ')
writech('exfh', ADR.ADDRESS.4)
writech('exfh', ('\\ '))
writech('exfh', ADR.ADDRESS.5||' '||ADR.ADDRESS.6||', '||ADR.ADDRESS.7||'\\ ')
writech('exfh', ADR.ADDRESS.8)
writech('exfh', '}')
writech('exfh', (cr))
NEXTSEL STEM ADR.
end
close ('exfh')
end
exit