home *** CD-ROM | disk | FTP | other *** search
- /* $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
-