' SAVE"NLWD.BAS",A 'mod copy of original ' CLS ' Start output file as not there... OPEN "LWDndx.TXT" FOR APPEND AS #3 CLOSE #3 KILL "LWDndx.TXT" DIM SJ$(10) OPEN "LWDSORT.TXT" FOR INPUT AS #1 OPEN "sj.htm" FOR INPUT AS #2 'copy of subject-index.html(original) OPEN "LWDndx.TXT" FOR OUTPUT AS #3 ' FOR SJI = 1 TO 297 LINE INPUT #2, S$: PRINT #3, S$ 'copy to first useful entry NEXT SJI QT$ = CHR$(32): TRUE = (1 = 1) ' 3 cases: ' case 3: IKW$ > SJ$ read SJ record at startup until case 1 or case 2; copy SJ records only ' case 2: IKW$ = SJ$ write IKW record, then write SJ record ' case 1: IKW$ < SJ$ write IKW records only ' Typical SJ records (SJ for SubJect index) '     '    active '    Index '    Vendor Profile '
'*SJ read needs to skip over this stuff ' '* '

B:

'* '

'* '     '    added '    Technical Aspects '
'** Note end of SJ records: '

'