home *** CD-ROM | disk | FTP | other *** search
GW-BASIC | 1985-01-21 | 992 b | 36 lines |
- 10 ' Utility program for FAS-TYPE to print all HELP screens
- 20 DEFINT A-Z
- 30 DIM FL$(6)
- 40 FL$(0)="hm1"
- 50 FL$(1)="hm2"
- 60 FL$(2)="hm3"
- 70 FL$(3)="hm4"
- 80 FL$(4)="hm5"
- 90 FL$(5)="hml"
- 100 FL$(6)="hmn"
- 110 '
- 120 '** do six files
- 130 FOR I = 0 TO 6
- 140 FILENAM$ = "b:" + FL$(I) + ".typ"
- 150 OPEN "i", #1, FILENAM$
- 160 '** 2 pages per file
- 170 FOR J=1 TO 2
- 180 LPRINT CHR$(12) 'form feed
- 190 LPRINT FILENAM$;
- 200 ' ** 2 screens per page
- 210 FOR K = 1 TO 2
- 220 LPRINT CHR$(10); CHR$(10); CHR$(10) CHR$(10) ' line feed
- 230 ' ** 24 screen lines per page
- 240 FOR L=1 TO 24
- 250 IF EOF(1) THEN GOTO 305
- 260 LINE INPUT #1,LYNE$
- 270 LPRINT LYNE$
- 280 NEXT L 'next line
- 290 NEXT K 'next screen page
- 300 NEXT J 'next printer page
- 305 CLOSE #1
- 310 NEXT I 'next help file
- 320 LPRINT CHR$(12) ' form feed
- 330 PRINT ".............FINISHED.................."
- 340 END
-