home *** CD-ROM | disk | FTP | other *** search
- '
- ' Program to strip the help file down to pages that can be printed.
- ' (c) 1991 Comptech Software and Consulting, Inc.
- ' Revisions:
- ' 02/21/91 KM Initial coding.
- '
- open "apb.hlp" for input as #1
- open "apb.doc" for output as #2
- c$=input$(4,1) ' bypass the 4 byte header
- while 1
- c$=input$(2,1)
- if c$<>chr$(13)+chr$(10) then
- ' end of file
- exit while
- end if
- line input #1,c$
- print c$
- print #2,c$
- while 1
- line input #1,c$
- if c$="*END*" then
- print #2,chr$(12) ' form feed
- exit while
- end if
- print #2,c$
- wend
- wend
- close 1
- close 2
- stop
-
-